Issue #2104727 by wesleydv, Sam152: Move controller class out of route folder in toolbar module.
parent
9cf1a39465
commit
6c3fbad88a
|
@ -2,10 +2,10 @@
|
|||
|
||||
/**
|
||||
* @file
|
||||
* Contains \Drupal\toolbar\Routing\ToolbarController.
|
||||
* Contains \Drupal\toolbar\Controller\ToolbarController.
|
||||
*/
|
||||
|
||||
namespace Drupal\toolbar\Routing;
|
||||
namespace Drupal\toolbar\Controller;
|
||||
|
||||
use Drupal\Core\Access\AccessInterface;
|
||||
use Drupal\Core\Controller\ControllerBase;
|
|
@ -1,6 +1,6 @@
|
|||
toolbar.subtrees:
|
||||
path: '/toolbar/subtrees/{hash}'
|
||||
defaults:
|
||||
_controller: '\Drupal\toolbar\Routing\ToolbarController::subtreesJsonp'
|
||||
_controller: '\Drupal\toolbar\Controller\ToolbarController::subtreesJsonp'
|
||||
requirements:
|
||||
_custom_access: '\Drupal\toolbar\Routing\ToolbarController::checkSubTreeAccess'
|
||||
|
|
Loading…
Reference in New Issue