Skip to content

Commit 8aa91f7

Browse files
authored
Fix missing dashboard path replacement (#289)
Continuation of #283
2 parents 51b420f + 9d3cf8f commit 8aa91f7

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/BootstrapAdminUi/templates/shared/crud/index/content/header/breadcrumbs.html.twig

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,7 @@
99
{% set title = hookable_metadata.configuration.title %}
1010
{% endif %}
1111

12-
{% set dashboard_path = hookable_metadata.context.routing.dashboard_path|default('/admin') %}
13-
1412
{{ breadcrumbs([
15-
{ 'name': 'sylius.ui.dashboard', 'url': dashboard_path, 'active': false },
13+
{ 'name': 'sylius.ui.dashboard', 'url': path('sylius_admin_ui_dashboard'), 'active': false },
1614
{ 'name': title, 'active': true },
1715
]) }}

0 commit comments

Comments
 (0)