diff --git a/lib/Dancer2/Manual/Keywords.pod b/lib/Dancer2/Manual/Keywords.pod index 0587cfd4c..b9f0305dc 100644 --- a/lib/Dancer2/Manual/Keywords.pod +++ b/lib/Dancer2/Manual/Keywords.pod @@ -1201,6 +1201,11 @@ create a URI for it: This works for every HTTP method, except C (which is effectively a C). +It can also be used in templates: + + + [% request.uri_for_route( 'my_route_name', { 'foo' => 'bar' }, { 'id' => 4 } ) %] + There are multiple arguments options: =over 4