diff --git a/core/modules/comment/comment.routing.yml b/core/modules/comment/comment.routing.yml index c6db4fb..a7b4fe2 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\CommentRequestController::commentPermalink' + _controller: '\Drupal\comment\Controller\CommentController::commentPermalink' requirements: _access: 'TRUE' diff --git a/core/modules/comment/lib/Drupal/comment/Controller/CommentRequestController.php b/core/modules/comment/lib/Drupal/comment/Controller/CommentController.php similarity index 95% rename from core/modules/comment/lib/Drupal/comment/Controller/CommentRequestController.php rename to core/modules/comment/lib/Drupal/comment/Controller/CommentController.php index 14af200..f088510 100644 --- a/core/modules/comment/lib/Drupal/comment/Controller/CommentRequestController.php +++ b/core/modules/comment/lib/Drupal/comment/Controller/CommentController.php @@ -2,7 +2,7 @@ /** * @file - * Contains \Drupal\comment\CommentRequestController. + * Contains \Drupal\comment\CommentController. */ namespace Drupal\comment\Controller; @@ -18,7 +18,7 @@ /** * Controller methods for comment routes. */ -class CommentRequestController implements ControllerInterface { +class CommentController implements ControllerInterface { /** * @var Symfony\Component\HttpKernel\HttpKernelInterface