Skip to content

Commit

Permalink
Explicitly register controllers as public services
Browse files Browse the repository at this point in the history
  • Loading branch information
chives committed Dec 11, 2017
1 parent 08e849f commit 5d619ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Resources/config/services.xml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
</service>

<!-- Controllers -->
<service id="admin.controller.abstract" class="%admin.controller.abstract.class%" abstract="true">
<service id="admin.controller.abstract" class="%admin.controller.abstract.class%" abstract="true" public="true">
<argument type="service" id="templating"/>
<argument type="service" id="admin.context.manager"/>
<argument type="service" id="event_dispatcher"/>
Expand All @@ -101,7 +101,7 @@
<argument>%admin.templates.resource%</argument>
</service>

<service id="admin.controller.admin" class="%admin.controller.admin.class%">
<service id="admin.controller.admin" class="%admin.controller.admin.class%" public="true">
<argument type="service" id="templating"/>
<argument type="service" id="router"/>
<argument>%admin.templates.index_page%</argument>
Expand Down

0 comments on commit 5d619ab

Please sign in to comment.