Fix redirects using Symfony's RedirectController

This commit is contained in:
Kamil Kokot 2021-01-14 15:16:00 +01:00
parent c18f11efac
commit e9e191bb4e
4 changed files with 4 additions and 4 deletions

View file

@ -203,7 +203,7 @@ to the ``app/Resources/SyliusShopBundle/config/routing/checkout.yml`` file.
path: /
methods: [GET]
defaults:
_controller: FrameworkBundle:Redirect:redirect
_controller: Symfony\Bundle\FrameworkBundle\Controller\RedirectController:redirectAction
route: sylius_shop_checkout_address
sylius_shop_checkout_address:

View file

@ -17,7 +17,7 @@ sylius_admin_taxon_index:
path: /taxons/
methods: [GET]
defaults:
_controller: FrameworkBundle:Redirect:redirect
_controller: Symfony\Bundle\FrameworkBundle\Controller\RedirectController:redirectAction
route: sylius_admin_taxon_create
permanent: true

View file

@ -13,7 +13,7 @@ sylius_shop_account_root:
path: /
methods: [GET]
defaults:
_controller: FrameworkBundle:Redirect:redirect
_controller: Symfony\Bundle\FrameworkBundle\Controller\RedirectController:redirectAction
route: sylius_shop_account_dashboard
permanent: true

View file

@ -5,7 +5,7 @@ sylius_shop_checkout_start:
path: /
methods: [GET]
defaults:
_controller: FrameworkBundle:Redirect:redirect
_controller: Symfony\Bundle\FrameworkBundle\Controller\RedirectController:redirectAction
route: sylius_shop_checkout_address
sylius_shop_checkout_address: