/**
  * Update the specified resource in storage.
  *
  * @param  int  $id
  * @return Response
  */
 public function update($id)
 {
     $room = Rooms::findOrFail($id);
     $validator = Validator::make($data = Input::all(), Rooms::$rules);
     if ($validator->fails()) {
         return Redirect::back()->withErrors($validator)->withInput();
     }
     $room->update($data);
     return Redirect::route('rooms.index');
 }