diff --git a/core/modules/aggregator/aggregator.routing.yml b/core/modules/aggregator/aggregator.routing.yml index fda0865aea9e337978996e759bbbebd95c43d6ab..007a01034b460a2476f4c21d51b5c841e603648b 100644 --- a/core/modules/aggregator/aggregator.routing.yml +++ b/core/modules/aggregator/aggregator.routing.yml @@ -96,10 +96,9 @@ aggregator.sources: _permission: 'access news feeds' aggregator.opml_page: - path: '/aggregator/opml/{cid}' + path: '/aggregator/opml' defaults: _title: 'OPML feed' _controller: '\Drupal\aggregator\Controller\AggregatorController::opmlPage' - cid: null requirements: _permission: 'access news feeds' diff --git a/core/modules/aggregator/lib/Drupal/aggregator/Controller/AggregatorController.php b/core/modules/aggregator/lib/Drupal/aggregator/Controller/AggregatorController.php index 8c25f9b8686e1f03baba87f59b93cf362205ea7c..d75a28a12c86a517c394a5a2f305469c51ef2b96 100644 --- a/core/modules/aggregator/lib/Drupal/aggregator/Controller/AggregatorController.php +++ b/core/modules/aggregator/lib/Drupal/aggregator/Controller/AggregatorController.php @@ -249,7 +249,7 @@ public function sources() { * @return \Symfony\Component\HttpFoundation\Response * The response containing the OPML. */ - public function opmlPage($cid = NULL) { + public function opmlPage() { $result = $this->database->query('SELECT * FROM {aggregator_feed} ORDER BY title'); $feeds = $result->fetchAll();