Example #1
0
 /**
  * Remove the specified resource from storage.
  *
  * @param  int  $id
  * @return Response
  */
 public function destroy()
 {
     $id = $_GET['id'];
     $room = Rooms::find($id);
     $room->delete();
     return Redirect::route('rooms.index');
 }