Skip to content

Commit

Permalink
Merge pull request #114 from simaremare/set-post-method-as-default-ac…
Browse files Browse the repository at this point in the history
…tion

Use post as the default action method
  • Loading branch information
luanfreitasdev authored Nov 8, 2021
2 parents de9be76 + 81b1e8c commit a29aee4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/views/components/actions.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class="{{ filled($action->class) ? $action->class : $theme->actions->headerBtnCl
@if(strtolower($action->method) !== ('get'))
<form target="{{ $action->target }}"
action="{{ route($action->route, $parameters) }}"
method="{{ $action->target }}">
method="post">
@method($action->method)
@csrf
<button type="submit"
Expand Down

0 comments on commit a29aee4

Please sign in to comment.