Commit 6c3fbad8 authored by alexpott's avatar alexpott

Issue #2104727 by wesleydv, Sam152: Move controller class out of route folder in toolbar module.

parent 9cf1a394
......@@ -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;
......
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'
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment