ff
This commit is contained in:
parent
ecf963857b
commit
485f0019f0
@ -1,6 +1,8 @@
|
|||||||
<?php namespace App\Http\Controllers;
|
<?php namespace App\Http\Controllers;
|
||||||
|
|
||||||
use App\Models\User;
|
use App\Models\User;
|
||||||
|
use Response;
|
||||||
|
use App\Models\Oeuvre;
|
||||||
|
|
||||||
class GameController extends Controller {
|
class GameController extends Controller {
|
||||||
|
|
||||||
@ -49,5 +51,4 @@ class GameController extends Controller {
|
|||||||
return view('one_referent_game', ['referent' => $id, 'game' => $idGame]);
|
return view('one_referent_game', ['referent' => $id, 'game' => $idGame]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -11,9 +11,11 @@
|
|||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
Route::get('/', 'GameController@index');
|
Route::get('/', 'GameController@index');
|
||||||
Route::get('referents/{id}/games', 'GameController@showReferentGames')->where('id', '^((?!login|referent|admin).)*$');
|
Route::get('referents/{id}/games', 'GameController@showReferentGames')->where('id', '^((?!login|referent|admin).)*$');
|
||||||
Route::get('referents/{id}/games/{idGame}', 'GameController@showOneReferentGame');
|
Route::get('referents/{id}/games/{idGame}', 'GameController@showOneReferentGame');
|
||||||
|
|
||||||
Route::get('password/reset/{token}', array(
|
Route::get('password/reset/{token}', array(
|
||||||
'uses' => 'LoginController@reset',
|
'uses' => 'LoginController@reset',
|
||||||
'as' => 'password.reset'
|
'as' => 'password.reset'
|
||||||
|
@ -26,6 +26,7 @@ $app = new Illuminate\Foundation\Application(
|
|||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
$app->singleton(
|
$app->singleton(
|
||||||
'Illuminate\Contracts\Http\Kernel',
|
'Illuminate\Contracts\Http\Kernel',
|
||||||
'App\Http\Kernel'
|
'App\Http\Kernel'
|
||||||
|
Reference in New Issue
Block a user