diff --git a/core/modules/comment/comment.routing.yml b/core/modules/comment/comment.routing.yml index a7b4fe2..c6db4fb 100644 --- a/core/modules/comment/comment.routing.yml +++ b/core/modules/comment/comment.routing.yml @@ -7,6 +7,6 @@ comment_edit_page: comment_permalink: pattern: '/comment/{comment}' defaults: - _controller: '\Drupal\comment\Controller\CommentController::commentPermalink' + _controller: '\Drupal\comment\Controller\CommentRequestController::commentPermalink' requirements: _access: 'TRUE' diff --git a/core/modules/comment/lib/Drupal/comment/CommentRequestController.php b/core/modules/comment/lib/Drupal/comment/Controller/CommentRequestController.php similarity index 98% rename from core/modules/comment/lib/Drupal/comment/CommentRequestController.php rename to core/modules/comment/lib/Drupal/comment/Controller/CommentRequestController.php index 6db83f7..d8a7bc8 100644 --- a/core/modules/comment/lib/Drupal/comment/CommentRequestController.php +++ b/core/modules/comment/lib/Drupal/comment/Controller/CommentRequestController.php @@ -5,7 +5,7 @@ * Contains \Drupal\comment\CommentRequestController. */ -namespace Drupal\comment; +namespace Drupal\comment\Controller; use Drupal\Core\ControllerInterface; use Symfony\Component\DependencyInjection\ContainerInterface;