diff --git a/core/modules/aggregator/aggregator.module b/core/modules/aggregator/aggregator.module index 5315722..269d396 100644 --- a/core/modules/aggregator/aggregator.module +++ b/core/modules/aggregator/aggregator.module @@ -143,7 +143,7 @@ function aggregator_menu() { ); $items['aggregator/opml'] = array( 'title' => 'OPML feed', - 'route_name' => 'aggregator_opml', + 'route_name' => 'aggregator.opml', ); $items['aggregator/categories/%aggregator_category'] = array( 'title callback' => '_aggregator_category_title', diff --git a/core/modules/aggregator/aggregator.routing.yml b/core/modules/aggregator/aggregator.routing.yml index fc7d64c..84de995 100644 --- a/core/modules/aggregator/aggregator.routing.yml +++ b/core/modules/aggregator/aggregator.routing.yml @@ -148,8 +148,8 @@ aggregator.opml_page: requirements: _permission: 'access news feeds' -aggregator_opml: - pattern: 'aggregator/opml' +aggregator.opml: + path: 'aggregator/opml' defaults: _controller: '\Drupal\aggregator\Controller\AggregatorController::opml' requirements: