public function destroy($id)
{
DB::table('ssrareqs')
->where('req_id',$id)
->update(['status_req'=>'reject']);
return back();
}
在我的刀片下面
<td> <a style="color: red" href="{{action('ApproverController@destroy', $approvereqs->req_id)}}">Reject</a></td>