After I login my Sylius app (site login, not admin login), I am redirected to /shop (It is the path to the SyliusShopBundle, defined in my app/config/routing.yml) Is it possible to override the login redirection to be redirected to / (where I have put static index page)?
Thanks !
EDIT : here is my code after the answer of CoderMaggie
sylius_shop_login:
path: /shop/login
methods: [GET]
defaults:
_controller: sylius.controller.security:loginAction
_sylius:
template: "@SyliusShop/login.html.twig"
redirect:
route: homepage
but I am not redirected to route homepage