Commit 06ece933 authored by levmyshkin's avatar levmyshkin Committed by chris_hall_hu_cheng

Issue #2655912 by levmyshkin: Replace _content parameter with _controller

parent d02060ed
blog.blog:
path: '/blog'
defaults:
_content: '\Drupal\blog\Controller\BlogController::latestBlogPosts'
_controller: '\Drupal\blog\Controller\BlogController::latestBlogPosts'
_title: 'Blogs'
requirements:
_permission: 'access content'
......@@ -16,7 +16,7 @@ blog.blog_rss:
blog.user:
path: '/blog/{user}'
defaults:
_content: '\Drupal\blog\Controller\BlogController::userBlogPosts'
_controller: '\Drupal\blog\Controller\BlogController::userBlogPosts'
_title_callback: '\Drupal\blog\Controller\BlogController::userBlogTitle'
requirements:
_permission: 'access content'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment