diff --git a/SRC/app/Http/Controllers/GameController.php b/SRC/app/Http/Controllers/GameController.php index 56d74e2..dea4004 100755 --- a/SRC/app/Http/Controllers/GameController.php +++ b/SRC/app/Http/Controllers/GameController.php @@ -1,6 +1,8 @@ $id, 'game' => $idGame]); } - } diff --git a/SRC/app/Http/routes.php b/SRC/app/Http/routes.php index 2b60826..a06e994 100644 --- a/SRC/app/Http/routes.php +++ b/SRC/app/Http/routes.php @@ -11,9 +11,11 @@ | */ + Route::get('/', 'GameController@index'); Route::get('referents/{id}/games', 'GameController@showReferentGames')->where('id', '^((?!login|referent|admin).)*$'); Route::get('referents/{id}/games/{idGame}', 'GameController@showOneReferentGame'); + Route::get('password/reset/{token}', array( 'uses' => 'LoginController@reset', 'as' => 'password.reset' diff --git a/SRC/bootstrap/app.php b/SRC/bootstrap/app.php index f50a3f7..8316ea1 100755 --- a/SRC/bootstrap/app.php +++ b/SRC/bootstrap/app.php @@ -26,6 +26,7 @@ $app = new Illuminate\Foundation\Application( | */ + $app->singleton( 'Illuminate\Contracts\Http\Kernel', 'App\Http\Kernel'