diff --git a/core/modules/block/block.module b/core/modules/block/block.module index 693e90c..952bad2 100644 --- a/core/modules/block/block.module +++ b/core/modules/block/block.module @@ -97,10 +97,10 @@ function block_page_build(&$page) { '#weight' => -10, ); if (\Drupal::config('system.theme')->get('default') == $theme) { - $page['page_top']['backlink']['#url'] = Url::fromRoute('block.admin_display_theme', ['theme' => $theme]); + $page['page_top']['backlink']['#url'] = Url::fromRoute('block.admin_display'); } else { - $page['page_top']['backlink']['#url'] = Url::fromRoute('block.admin_display'); + $page['page_top']['backlink']['#url'] = Url::fromRoute('block.admin_display_theme', ['theme' => $theme]); } } }