pass container to thelialoop smarty plugin then to baseloop

This commit is contained in:
Etienne Roudeix
2013-09-09 18:15:49 +02:00
parent 04d8990990
commit c5f30baba5
4 changed files with 31 additions and 19 deletions

View File

@@ -146,11 +146,7 @@
<service id="smarty.plugin.thelialoop" class="Thelia\Core\Template\Smarty\Plugins\TheliaLoop" scope="request">
<tag name="thelia.parser.register_plugin"/>
<argument type="service" id="request" />
<argument type="service" id="event_dispatcher"/>
<argument type="service" id="thelia.securityContext"/>
<argument type="service" id="service_container" />
<call method="setLoopList">
<argument>%thelia.parser.loops%</argument>
</call>