update routes + surprise :P
This commit is contained in:
@ -22,4 +22,29 @@ class GameController extends Controller {
|
||||
return view('home');
|
||||
}
|
||||
|
||||
/**
|
||||
* Show referent games
|
||||
*
|
||||
* @param String $id
|
||||
* @return Response
|
||||
*/
|
||||
public function showReferentGames($id)
|
||||
{
|
||||
return view('referent_games', ['referent' => $id]);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Show one referent game
|
||||
*
|
||||
* @param String $id
|
||||
* @param String $idGame
|
||||
* @return Response
|
||||
*/
|
||||
public function showOneReferentGame($id, $idGame)
|
||||
{
|
||||
return view('one_referent_game', ['referent' => $id, 'game' => $idGame]);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
@ -71,9 +71,9 @@ class LoginController extends Controller {
|
||||
switch ($response = Password::remind(Input::only('email')))
|
||||
{
|
||||
case Password::INVALID_USER:
|
||||
return redirect('oublie')->withErrors($response)->withInput();
|
||||
return redirect('forgotten')->withErrors($response)->withInput();
|
||||
case Password::REMINDER_SENT:
|
||||
return redirect('oublie')->withStatus($response)->withInput();
|
||||
return redirect('forgotten')->withStatus($response)->withInput();
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user