From 1ae83d28e6bde2959d3a99476fa7a84c745d16d3 Mon Sep 17 00:00:00 2001 From: Malibu Date: Thu, 5 Feb 2015 13:20:09 +0100 Subject: [PATCH] home page route --- SRC/app/routes.php | 7 ++++++- SRC/app/views/home.php | 9 +++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 SRC/app/views/home.php diff --git a/SRC/app/routes.php b/SRC/app/routes.php index dedd995..ca7df19 100644 --- a/SRC/app/routes.php +++ b/SRC/app/routes.php @@ -21,4 +21,9 @@ Route::get('/', function() Route::get('jouer', function() { return 'Viens jouer avec moi !'; -}); \ No newline at end of file +}); + +Route::get('home', function() +{ + return View::make('home'); +}); diff --git a/SRC/app/views/home.php b/SRC/app/views/home.php new file mode 100644 index 0000000..8530bff --- /dev/null +++ b/SRC/app/views/home.php @@ -0,0 +1,9 @@ +< + + Accueil + + + +

Veuillez choisir votre référent! =)

+ +