Skip to content

Commit 8c36daa

Browse files
author
boite
committed
Merge pull request #1 from boite/patch-1
Added third param for abs. urls to twig example
2 parents 3937bbb + 9e3ee7c commit 8c36daa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎book/routing.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1198,7 +1198,7 @@ Absolute URLs can also be generated.
11981198

11991199
.. code-block:: html+jinja
12001200

1201-
<a href="{{ url('blog_show', {'slug': 'my-blog-post'}) }}">
1201+
<a href="{{ url('blog_show', {'slug': 'my-blog-post'}, true) }}">
12021202
Read this blog post.
12031203
</a>
12041204

0 commit comments

Comments
 (0)