Skip to content

Commit

Permalink
Bring back twig extension
Browse files Browse the repository at this point in the history
Unfortunately, we forgot to register twig extension and runtime, that's why it wasn't available. This change should fix extension and runtime registering!
  • Loading branch information
sadikoff authored Aug 6, 2020
1 parent 9d3bba0 commit bcebf7a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Resources/config/services.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@
<argument type="service" id="twig"/>
<argument type="service" id="knp_disqus.disqus_client"/>
<argument>%kernel.environment%</argument>
<tag name="twig.runtime" />
</service>

<service id="Knp\Bundle\DisqusBundle\Twig\Extension\DisqusExtension">
<tag name="twig.extension" />
</service>
</services>
</container>

0 comments on commit bcebf7a

Please sign in to comment.