Skip to content

Commit

Permalink
fix(bundle) proper Symfony configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
Dalibor Karlović committed Dec 29, 2016
1 parent dc9d2fa commit ddc8240
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 @@ -10,12 +10,12 @@

<services>
<service id="webburza.sylius.google_ecommerce.client" class="Webburza\Sylius\GoogleEcommerceBundle\Client" public="true">
<argument type="service" id="sylius.context.channel"/>
<argument type="expression">service('sylius.context.channel').getChannel()</argument>
<argument>%webburza.sylius.google_ecommerce.key%</argument>
</service>

<service id="webburza.sylius.google_ecommerce.twig.ecommerce_extension" class="Webburza\Sylius\GoogleEcommerceBundle\Twig\Extension\EcommerceExtension" public="false">
<argument type="expression">service('sylius.context.channel').getChannel()</argument>
<argument type="service" id="webburza.sylius.google_ecommerce.client"/>
<tag name="twig.extension" />
</service>
</services>
Expand Down

0 comments on commit ddc8240

Please sign in to comment.