user_current_paths.routing.yml in User current paths (user/edit & user/current/*) 8
Same filename and directory in other branches
File
user_current_paths.routing.ymlView source
- user_current_paths.edit_redirect:
- path: '/user/edit'
- defaults:
- _controller: '\Drupal\user_current_paths\Controller\UserCurrentPathsController::editRedirect'
- requirements:
- _user_is_logged_in: 'TRUE'
- user_current_paths.wildcardaction_redirect:
- path: '/user/current/{wildcardaction}'
- defaults:
- _controller: '\Drupal\user_current_paths\Controller\UserCurrentPathsController::wildcardActionRedirect'
- wildcardaction: 'view'
- requirements:
- _user_is_logged_in: 'TRUE'