Skip to content

Commit

Permalink
feat(route): add csrf for all site routes
Browse files Browse the repository at this point in the history
  • Loading branch information
Awilum committed Jun 13, 2020
1 parent c7fafd7 commit fbd9335
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion routes/web.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@

namespace Flextype;

$app->get('{uri:.+}', 'SiteController:index')->setName('site.index');
$app->get('{uri:.+}', 'SiteController:index')->setName('site.index')->add('csrf');

0 comments on commit fbd9335

Please sign in to comment.