Пример #1
0
 /**
  * Update current game image files.
  *
  * @param Game $game
  * @param Request $request
  * @param StoreGamePeopleRequest $validationRequest
  * @return \Illuminate\Http\Response
  */
 public function updatePeople(Request $request, Game $game)
 {
     $game->people()->sync(Input::get('person'));
     Session::flash('message', 'People updated');
     return redirect('/game');
 }