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

8.0.x
Alex Pott 2014-02-02 14:21:58 +00:00
parent 9cf1a39465
commit 6c3fbad88a
2 changed files with 3 additions and 3 deletions

View File

@ -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;

View File

@ -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'