diff --git a/typ_profile.routing.yml b/typ_profile.routing.yml --- a/typ_profile.routing.yml +++ b/typ_profile.routing.yml @@ -1,23 +1,30 @@ typ_profile_search: path: '/profile/{bizid}' defaults: _controller: '\Drupal\typ_profile\Controller\TYPProfileController::profilePage' _title_callback: '\Drupal\typ_profile\Controller\TYPProfileController::profileTitle' requirements: _permission: 'access content' typ_profile_promotion: path: '/profile/get-promotion' defaults: _controller: '\Drupal\typ_profile\Controller\TYPProfileController::getPromotion' _title_callback: '\Drupal\typ_profile\Controller\TYPProfileController::getTitlePromotion' requirements: _permission: 'access content' +typ_profile_catalog: + path: '/profile/{bizid}/catalog' + defaults: + _controller: '\Drupal\typ_profile\Controller\TYPProfileCatalogController::catalogPage' + _title_callback: '\Drupal\typ_profile\Controller\TYPProfileCatalogController::catalogTitle' + requirements: + _permission: 'access content' #typ_profile_redirect: # path: '/profile' # defaults: # _controller: '\Drupal\typ_profile\Controller\TYPProfileController::profileOverview' # _title: 'Rredirect ' # requirements: # _permission: 'access content' \ No newline at end of file