Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
shorter description
  • Loading branch information
kraih committed Dec 16, 2016
1 parent d0480f9 commit e1da866
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lib/Mojolicious/Plugin/TagHelpers.pm
Expand Up @@ -303,10 +303,9 @@ automatically get picked up and shown as default.
=head2 csrf_button_to
%= csrf_button_to 'Remove' => 'some_delete_route'
%= csrf_button_to Remove => 'some_delete_route'
Same as L</"button_to">, but also includes a field generated with
L</"csrf_field">.
Same as L</"button_to">, but also includes a L</"csrf_field">.
<form action="/path/to/delete/route?_method=DELETE" method="POST">
<input name="csrf_token" type="hidden" value="fa6a08...">
Expand Down

0 comments on commit e1da866

Please sign in to comment.