Skip to content

Commit

Permalink
Document in template
Browse files Browse the repository at this point in the history
  • Loading branch information
xsawyerx committed Nov 24, 2023
1 parent 1f702da commit 01ec74c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/Dancer2/Manual/Keywords.pod
Original file line number Diff line number Diff line change
Expand Up @@ -1201,6 +1201,11 @@ create a URI for it:
This works for every HTTP method, except C<HEAD> (which is
effectively a C<GET>).

It can also be used in templates:

<!-- some_template.tt -->
[% request.uri_for_route( 'my_route_name', { 'foo' => 'bar' }, { 'id' => 4 } ) %]

There are multiple arguments options:

=over 4
Expand Down

0 comments on commit 01ec74c

Please sign in to comment.