Skip to content

Commit

Permalink
Merge pull request #9827 from davidroberto/patch-1
Browse files Browse the repository at this point in the history
Custom homepage controller as public service
  • Loading branch information
pamil authored Oct 16, 2018
2 parents 8749186 + 27a327e commit 9b7eae1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/customization/controller.rst
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,7 @@ If you still need the methods of the original HomepageController, then copy its
sylius.controller.shop.homepage:
class: AppBundle\Controller\Shop\HomepageController
arguments: ['@templating']
public: true
Remember to import the ``app/config/services.yml`` into the ``app/config/config.yml``.

Expand Down

0 comments on commit 9b7eae1

Please sign in to comment.