Exemplo n.º 1
0
 /**
  * Update current game image files.
  *
  * @param Game $game
  * @param Request $request
  * @param StoreGameGenresRequest $validationRequest
  * @return \Illuminate\Http\Response
  */
 public function updateGenres(Request $request, Game $game)
 {
     $game->genres()->sync(Input::get('genre'));
     Session::flash('message', 'Genres updated');
     return redirect('/game');
 }