Skip to content

Commit

Permalink
Merge pull request #8 from jacquesbh/fix-routes
Browse files Browse the repository at this point in the history
fix(routes): Update the routes dist file accordingly to recipes
  • Loading branch information
delyriand authored Jul 1, 2024
2 parents 117356e + abc3d00 commit 64b75c0
Showing 1 changed file with 9 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,2 +1,9 @@
imports:
resource: '@{{ pluginPascalCaseFullName }}/Resources/config/routes.yaml'
{{ extensionAlias }}_admin:
resource: '@{{ pluginPascalCaseFullName }}/Resources/config/routes/admin.yaml'
prefix: '/%sylius_admin.path_name%'

{{ extensionAlias }}_shop:
resource: '@{{ pluginPascalCaseFullName }}/Resources/config/routes/shop.yaml'
prefix: '/{_locale}'
requirements:
_locale: ^[A-Za-z]{2,4}(_([A-Za-z]{4}|[0-9]{3}))?(_([A-Za-z]{2}|[0-9]{3}))?$

0 comments on commit 64b75c0

Please sign in to comment.