diff --git a/core/modules/aggregator/aggregator.routing.yml b/core/modules/aggregator/aggregator.routing.yml index 8f2b6de..d10b4ea 100644 --- a/core/modules/aggregator/aggregator.routing.yml +++ b/core/modules/aggregator/aggregator.routing.yml @@ -43,6 +43,6 @@ aggregator_opml_add: aggregator_categories: pattern: '/aggregator/categories' defaults: - _controller: '\Drupal\aggregator\Routing\AggregatorController::categories' + _content: '\Drupal\aggregator\Routing\AggregatorController::categories' requirements: _access_aggregator_categories: 'TRUE' diff --git a/core/modules/aggregator/lib/Drupal/aggregator/Routing/AggregatorController.php b/core/modules/aggregator/lib/Drupal/aggregator/Routing/AggregatorController.php index 73bcf8b..c709cc8 100644 --- a/core/modules/aggregator/lib/Drupal/aggregator/Routing/AggregatorController.php +++ b/core/modules/aggregator/lib/Drupal/aggregator/Routing/AggregatorController.php @@ -161,6 +161,8 @@ public function adminOverview() { '#rows' => $rows, '#empty' => t('No categories available. Add category.', array('@link' => url('admin/config/services/aggregator/add/category'))), ); + + return $build; } /**