<code>{!! Form::open(array('route'=>array('groupdel',**?????**),'method'=>"delete")) !!} {!! Form::label('group_name','GroupName:') !!} {!! Form::select('group_name',$group_name_lists,null) !!} {!! Form::submit('Submit') !!} {!! Form::close() !!} </code>
Excuse me, when deleting, how should I write the question mark? In order to get the ID at the time of deletion
Thank you very much~
<code>{!! Form::open(array('route'=>array('groupdel',**?????**),'method'=>"delete")) !!} {!! Form::label('group_name','GroupName:') !!} {!! Form::select('group_name',$group_name_lists,null) !!} {!! Form::submit('Submit') !!} {!! Form::close() !!} </code>
Excuse me, when deleting, how should I write the question mark? In order to get the ID at the time of deletion
Thank you very much~
<code>{!! Form::model($foo, ['route' => ['groupdel', $foo->id], 'method' => 'DELETE']) !!} 试试这个</code>