Skip to content

Commit

Permalink
Fix 'Unknown "locale" filter' error
Browse files Browse the repository at this point in the history
  • Loading branch information
dunglas authored Apr 6, 2020
1 parent 46a219b commit 2fee6b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Resources/views/_header.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
{{ order.currencyCode }}
</div>
<div class="item">
{{ flags.fromLocaleCode(order.localeCode) }}{{ order.localeCode|locale }}
{{ flags.fromLocaleCode(order.localeCode) }}{{ order.localeCode|sylius_locale_name }}
</div>
<div class="item">
{{ 'sylius.ui.purchased_from'|trans }}
Expand Down

0 comments on commit 2fee6b2

Please sign in to comment.