Skip to content
This repository was archived by the owner on Jan 28, 2019. It is now read-only.

Commit 6ac01e6

Browse files
committed
use method_field
1 parent b6b22a5 commit 6ac01e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/views/tasks.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
<td>
7070
<form action="/task/{{ $task->id }}" method="POST">
7171
{{ csrf_field() }}
72-
<input type="hidden" name="_method" value="DELETE">
72+
{{ method_field('DELETE') }}
7373

7474
<button type="submit" class="btn btn-danger">
7575
<i class="fa fa-trash"></i>Delete

0 commit comments

Comments
 (0)