Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
more links
  • Loading branch information
kraih committed Dec 3, 2013
1 parent 649c3a3 commit 72d5f1e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/Mojolicious/Plugin/DefaultHelpers.pm
Expand Up @@ -166,7 +166,7 @@ named buffers are shared with the L</"content"> helper.
%= csrf_token
Get CSRF token from L</"session">, and if none exists generate one.
Get CSRF token from L</"session">, and generate one if none exists.
=head2 current_route
Expand Down
3 changes: 2 additions & 1 deletion lib/Mojolicious/Plugin/TagHelpers.pm
Expand Up @@ -314,7 +314,8 @@ picked up and shown as default.
%= csrf_field
Generate hidden input element with CSRF token.
Generate hidden input element with CSRF token from
L<Mojolicious::Plugin::DefaultHelpers/"csrf_token">.
<input name="csrf_token" type="hidden" value="fa6a08..." />
Expand Down

0 comments on commit 72d5f1e

Please sign in to comment.