Verified Commit d00ef290 authored by larowlan's avatar larowlan
Browse files

Issue #2894609 by StijnStroobants: Routing paths should start with a slash

parent 7755d437
...@@ -52,7 +52,7 @@ block.admin_display: ...@@ -52,7 +52,7 @@ block.admin_display:
_permission: 'administer blocks' _permission: 'administer blocks'
block.admin_display_theme: block.admin_display_theme:
path: 'admin/structure/block/list/{theme}' path: '/admin/structure/block/list/{theme}'
defaults: defaults:
_controller: '\Drupal\block\Controller\BlockListController::listing' _controller: '\Drupal\block\Controller\BlockListController::listing'
_title: 'Block layout' _title: 'Block layout'
...@@ -61,7 +61,7 @@ block.admin_display_theme: ...@@ -61,7 +61,7 @@ block.admin_display_theme:
_permission: 'administer blocks' _permission: 'administer blocks'
block.admin_library: block.admin_library:
path: 'admin/structure/block/library/{theme}' path: '/admin/structure/block/library/{theme}'
defaults: defaults:
_controller: '\Drupal\block\Controller\BlockLibraryController::listBlocks' _controller: '\Drupal\block\Controller\BlockLibraryController::listBlocks'
_title: 'Place block' _title: 'Place block'
......
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