예제 #1
0
 /**
  * Remove the specified resource from storage.
  *
  * @param  int  $id
  * @return Response
  */
 public function destroy($id)
 {
     //Remove a menu item
     $item = MenuItem::find($id);
     $item->delete();
     //Redirect or somethign similar
     return Redirect::to('/menu');
 }