home page route

This commit is contained in:
Malibu 2015-02-05 13:20:09 +01:00
parent c596984f81
commit 1ae83d28e6
2 changed files with 15 additions and 1 deletions

View File

@ -21,4 +21,9 @@ Route::get('/', function()
Route::get('jouer', function()
{
return 'Viens jouer avec moi !';
});
});
Route::get('home', function()
{
return View::make('home');
});

9
SRC/app/views/home.php Normal file
View File

@ -0,0 +1,9 @@
<<html>
<head>
<title>Accueil</title>
</head>
<body>
<h1>Veuillez choisir votre référent! =)</h1>
</body>
</html>