示例#1
0
 /**
  * Update the specified resource in storage.
  *
  * @param  \Illuminate\Http\Request  $request
  * @param  int  $id
  * @return \Illuminate\Http\Response
  */
 public function update(IndustryFormRequest $request, Industry $industry)
 {
     // Update the exisiting $industry
     $industry->update($request->all());
     flash()->success('Industry has been updated!');
     return redirect('industries');
 }