From d00ef290c92477053b5708ab95193c25e1ebc3e2 Mon Sep 17 00:00:00 2001
From: Lee Rowlands <lee.rowlands@previousnext.com.au>
Date: Wed, 19 Jul 2017 05:58:48 +1000
Subject: [PATCH] Issue #2894609 by StijnStroobants: Routing paths should start
 with a slash

---
 core/modules/block/block.routing.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/core/modules/block/block.routing.yml b/core/modules/block/block.routing.yml
index 83648b948303..f789560b700f 100644
--- a/core/modules/block/block.routing.yml
+++ b/core/modules/block/block.routing.yml
@@ -52,7 +52,7 @@ block.admin_display:
     _permission: 'administer blocks'
 
 block.admin_display_theme:
-  path: 'admin/structure/block/list/{theme}'
+  path: '/admin/structure/block/list/{theme}'
   defaults:
     _controller: '\Drupal\block\Controller\BlockListController::listing'
     _title: 'Block layout'
@@ -61,7 +61,7 @@ block.admin_display_theme:
     _permission: 'administer blocks'
 
 block.admin_library:
-  path: 'admin/structure/block/library/{theme}'
+  path: '/admin/structure/block/library/{theme}'
   defaults:
     _controller: '\Drupal\block\Controller\BlockLibraryController::listBlocks'
     _title: 'Place block'
-- 
GitLab