Where is placed registration controller and how I should overwrite it?
i have the same question. i read the doc http://docs.sylius.com/en/1.1/customization/controller.html
but it’s not clear which controller i need to extends (ResourceController?) and the config in app/config/config.yml.
thx for answers
yes, you have to extends from
and overwrite the default configurations:
sylius_user: resources: shop: user: classes: controller: your controller
this worked for me:
sylius_customer: resources: customer: classes: controller: AppBundle\Controller\CustomerController
but i not understand the difference between “Standard Controllers” and “Resource Controllers”: what is the difference between override a controller in the service.yml and in the config.yml? if i do this:
sylius.controller.customer: class: AppBundle\Controller\CustomerController
it work but in the admin panel i see a strange error.