/** * Update the specified resource in storage. * * @param \Illuminate\Http\Request $request * @param int $id * @return \Illuminate\Http\Response */ public function update(BankFormRequest $request, Bank $bank) { // Update the existing bank $bank->update($request->all()); flash()->success('Bank has been updated!'); return redirect('banks'); }