I will destroy my user with a HTML link, but it doesn\'t seem to generate the correct link, what am i doing wrong?
public function destroy($id) { //Slet
For those looking to create delete button using anchor tag in laravel 5.
{!! Form::open(['action' => ['UserController@destroy', $user->id], 'method' => 'DELETE', 'name' => 'post_' . md5($user->id . $user->created_at)]) !!} {!! Form::close() !!}