I want to create a dropdown with two links. A \'Delete\' and a \'Edit\' link.
For the delete function I created a form.
{!! Form
Alternative way, try 'Laravel Collective' Html Helper.
HTML
{!! Form::open('delete',
'method' => 'delete,
'route' => ['show.destroy', $comment->id]
) !!}
{!! Form::submit('Submit') !!}
{!! Form::close() !!}
routes.php
Route::delete('show/{show}', [
'uses' => 'TestController@destroy',
'as' => 'show.destroy'
]);