Commit ffb53a49 authored by Fabien Potencier's avatar Fabien Potencier

merged branch lyrixx/patch-4 (PR #509)

This PR was merged into the master branch.

Commits
-------

f23f1589 [Doc] Added more sample to url_url_generator provider

Discussion
----------

[Doc] Added more sample to url_url_generator provider

fixed #508
parents fc82b425 f23f1589
...@@ -61,6 +61,8 @@ Moreover, if you use Twig, you will have access to the ``path()`` and ...@@ -61,6 +61,8 @@ Moreover, if you use Twig, you will have access to the ``path()`` and
{{ path('homepage') }} {{ path('homepage') }}
{{ url('homepage') }} {# generates the absolute url http://example.org/ #} {{ url('homepage') }} {# generates the absolute url http://example.org/ #}
{{ path('hello', {name: 'Fabien'}) }}
{{ url('hello', {name: 'Fabien'}) }} {# generates the absolute url http://example.org/hello/Fabien #}
Traits Traits
------ ------
......
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