Update controller.rst

in the services.yaml you need to override sylius.controller.shop.homepage not app.controller.shop.homepage
This commit is contained in:
Arnaud POINTET 2020-11-05 15:24:01 +01:00 committed by Mateusz Zalewski
parent 6118ecc7c9
commit fc20856c94
No known key found for this signature in database
GPG key ID: 9BECA0BB71612E52

View file

@ -190,7 +190,7 @@ If you still need the methods of the original ``HomepageController``, then copy
# config/services.yaml
services:
app.controller.shop.homepage:
sylius.controller.shop.homepage:
class: App\Controller\Shop\HomepageController
arguments: ['@templating']
tags: ['controller.service_arguments']