Skip to content

Commit

Permalink
fix action method on action
Browse files Browse the repository at this point in the history
  • Loading branch information
luanfreitasdev committed Nov 8, 2021
1 parent 8d9dc4b commit 32d1cea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/views/components/actions-header.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,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="{{ $action->method }}">
@method($action->method)
@csrf
<button type="submit"
Expand Down

0 comments on commit 32d1cea

Please sign in to comment.