Skip to content

Commit

Permalink
Merge pull request #34 from Snowbaha/patch-2
Browse files Browse the repository at this point in the history
fix: adapt the prefix with the admin sylius parameter
  • Loading branch information
KrisFlorq authored Dec 21, 2021
2 parents e19de80 + 6f3db09 commit c0d4b26
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Resources/config/routing.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
bitbag_sylius_bonus_points_plugin_admin:
resource: routing/admin.yml
prefix: /admin
prefix: /%sylius_admin.path_name%

bitbag_sylius_bonus_points_plugin_shop:
resource: routing/shop.yml
prefix: /{_locale}
requirements:
_locale: ^[A-Za-z]{2,4}(_([A-Za-z]{4}|[0-9]{3}))?(_([A-Za-z]{2}|[0-9]{3}))?$
_locale: ^[A-Za-z]{2,4}(_([A-Za-z]{4}|[0-9]{3}))?(_([A-Za-z]{2}|[0-9]{3}))?$

0 comments on commit c0d4b26

Please sign in to comment.