/** * Show the form for editing the specified resource. * * @param int $id * @return Response */ public function edit($id) { $mode = 'update'; $approval = Approvals::findOrFail($id); return view('settings.approvals.edit', compact('mode', 'approval')); }