Commit 956a2768 authored by Niklas Fiekas's avatar Niklas Fiekas

Make clear that twig-bridge is required to use path and url in Twig

Not sure what the best way is to make this explicit, but twig-bridge is required to use path() and url() in Twig. Just having Twig alone is not enough.
parent 9b9bc73e
......@@ -54,7 +54,7 @@ When using Twig, the service can be used like this:
{{ app.url_generator.generate('homepage') }}
Moreover, if you use Twig, you will have access to the ``path()`` and
Moreover, if you have ``twig-bridge`` in your ``composer.json``, you will have access to the ``path()`` and
``url()`` functions:
.. code-block:: jinja
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment