diff options
author | Pacien TRAN-GIRARD | 2015-02-08 00:17:21 +0100 |
---|---|---|
committer | Pacien TRAN-GIRARD | 2015-02-08 00:17:21 +0100 |
commit | cb902da50bd75b623a47727e62c0c69913422bfd (patch) | |
tree | 2296df3bc243176f640732fffc80ec553a371367 /app/controllers/Application.scala | |
parent | 3d22cb7d1ee6bdf7b484bbf001c76e81ae351dea (diff) | |
download | minibay-cb902da50bd75b623a47727e62c0c69913422bfd.tar.gz |
Authentication draft
Diffstat (limited to 'app/controllers/Application.scala')
-rw-r--r-- | app/controllers/Application.scala | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/app/controllers/Application.scala b/app/controllers/Application.scala index 12375df..417ebda 100644 --- a/app/controllers/Application.scala +++ b/app/controllers/Application.scala | |||
@@ -2,20 +2,19 @@ package controllers | |||
2 | 2 | ||
3 | import play.api._ | 3 | import play.api._ |
4 | import play.api.mvc._ | 4 | import play.api.mvc._ |
5 | 5 | import models._ | |
6 | 6 | ||
7 | object Application extends Controller { | 7 | object Application extends Controller { |
8 | 8 | ||
9 | def index = Action { | 9 | def index = Authenticate { implicit request => |
10 | Redirect("/ebe").flashing("warning" -> "hey") | 10 | Ok(views.html.pages.ebeHomepage()) |
11 | //Ok(views.html.pages.index("Your new application is ready.")) | ||
12 | } | 11 | } |
13 | 12 | ||
14 | def ebe = Action { implicit request => | 13 | def ebe = Authenticate { implicit request => |
15 | Ok(views.html.pages.ebeHomepage()) | 14 | Ok(views.html.pages.ebeHomepage()) |
16 | } | 15 | } |
17 | 16 | ||
18 | def pepal = Action { implicit request => | 17 | def pepal = Authenticate { implicit request => |
19 | Ok(views.html.pages.pepalHomepage()) | 18 | Ok(views.html.pages.pepalHomepage()) |
20 | } | 19 | } |
21 | 20 | ||