예제 #1
0
 /**
  * Remove the specified resource from storage.
  *
  * @param  int  $id
  * @return \Illuminate\Http\Response
  */
 public function destroy(Industry $industry)
 {
     // Delete $industry
     $industry->delete();
     flash()->success('Industry has been deleted');
     return redirect('industries');
 }