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,22 @@ 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_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_redirect: # path: '/profile' # defaults: # _controller: '\Drupal\typ_profile\Controller\TYPProfileController::profileOverview' # _title: 'Rredirect ' # requirements: # _permission: 'access content' \ No newline at end of file