aboutsummaryrefslogtreecommitdiff
path: root/app/controllers
diff options
context:
space:
mode:
authorPacien TRAN-GIRARD2015-02-05 20:37:05 +0100
committerPacien TRAN-GIRARD2015-02-05 20:37:05 +0100
commitde24f5b788c1ae6307eb360877ea3ce61c8f7a6a (patch)
tree7b2e454edb9901ae7cc2386659cff92bfb6c8486 /app/controllers
parent9f6ba6c47e90640abb8203986acd1562fd48b84d (diff)
downloadminibay-de24f5b788c1ae6307eb360877ea3ce61c8f7a6a.tar.gz
Implement flash messages
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/Application.scala9
1 files changed, 5 insertions, 4 deletions
diff --git a/app/controllers/Application.scala b/app/controllers/Application.scala
index 3380e38..12375df 100644
--- a/app/controllers/Application.scala
+++ b/app/controllers/Application.scala
@@ -7,15 +7,16 @@ import play.api.mvc._
7object Application extends Controller { 7object Application extends Controller {
8 8
9 def index = Action { 9 def index = Action {
10 Ok(views.html.pages.index("Your new application is ready.")) 10 Redirect("/ebe").flashing("warning" -> "hey")
11 //Ok(views.html.pages.index("Your new application is ready."))
11 } 12 }
12 13
13 def ebe = Action { 14 def ebe = Action { implicit request =>
14 Ok(views.html.pages.ebeHomepage()) 15 Ok(views.html.pages.ebeHomepage())
15 } 16 }
16 17
17 def pepal = Action { 18 def pepal = Action { implicit request =>
18 Ok(views.html.pages.pepalHomepage()) 19 Ok(views.html.pages.pepalHomepage())
19 } 20 }
20 21
21} \ No newline at end of file 22}