Skip to content

Commit

Permalink
add resolver
Browse files Browse the repository at this point in the history
  • Loading branch information
chregu authored and dbu committed Mar 8, 2021
1 parent 1b9566c commit 191fa12
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/Resources/config/rokka.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,16 @@
<service id="rokka.twig.extension" class="Rokka\Twig\Extension\RokkaExtension">
<argument>%rokka_client.organization%</argument>
<argument>%rokka_client.api_key%</argument>
<argument>%kernel.root_dir%/../web/</argument>
<argument>null</argument>
<argument>null</argument>
<argument type="service" id="rokka.twig.resolver.webpath"/>
<tag name="twig.extension"/>
</service>

<service id="rokka.twig.resolver.webpath" class="Rokka\Twig\Resolver\WebPathResolver">
<argument>%kernel.root_dir%/../web/</argument>
</service>


</services>
</container>

0 comments on commit 191fa12

Please sign in to comment.