Skip to content

Commit

Permalink
Add override route for sylius contact request
Browse files Browse the repository at this point in the history
  • Loading branch information
maximehuran committed Aug 27, 2024
1 parent 5511da7 commit 5c0df20
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
sylius_shop_contact_request:
path: /{_locale}/contact
requirements:
_locale: ^[A-Za-z]{2,4}(_([A-Za-z]{4}|[0-9]{3}))?(_([A-Za-z]{2}|[0-9]{3}))?$
methods: [GET, POST]
defaults:
_controller: sylius.controller.shop.contact::requestAction
_sylius:
redirect: sylius_shop_homepage
template: '@MonsieurBizSyliusContactRequestPlugin/Shop/ContactRequest/request.html.twig'

0 comments on commit 5c0df20

Please sign in to comment.