aboutsummaryrefslogtreecommitdiff
path: root/app/controllers
diff options
context:
space:
mode:
authorPacien TRAN-GIRARD2015-01-24 20:27:08 +0100
committerPacien TRAN-GIRARD2015-01-25 23:47:13 +0100
commitd04d732a084f07ca88fdfa82653bdfd2d6798374 (patch)
treed4b03c921e5fa98e9fb731d1549fbc8dbdc6b9fe /app/controllers
parent2f6780969318c08c7a0a0e8e52a7dad33ff53786 (diff)
downloadminibay-d04d732a084f07ca88fdfa82653bdfd2d6798374.tar.gz
First website mockup
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/Application.scala10
-rw-r--r--app/controllers/Console.scala12
2 files changed, 21 insertions, 1 deletions
diff --git a/app/controllers/Application.scala b/app/controllers/Application.scala
index 7cd798f..43b579e 100644
--- a/app/controllers/Application.scala
+++ b/app/controllers/Application.scala
@@ -6,7 +6,15 @@ import play.api.mvc._
6object Application extends Controller { 6object Application extends Controller {
7 7
8 def index = Action { 8 def index = Action {
9 Ok(views.html.index("Your new application is ready.")) 9 Ok(views.html.pages.index("Your new application is ready."))
10 }
11
12 def ebe = Action {
13 Ok(views.html.pages.ebeHomepage())
14 }
15
16 def pepal = Action {
17 Ok(views.html.pages.pepalHomepage())
10 } 18 }
11 19
12} \ No newline at end of file 20} \ No newline at end of file
diff --git a/app/controllers/Console.scala b/app/controllers/Console.scala
new file mode 100644
index 0000000..93bc5d5
--- /dev/null
+++ b/app/controllers/Console.scala
@@ -0,0 +1,12 @@
1package controllers
2
3import play.api._
4import play.api.mvc._
5
6object Console extends Controller {
7
8 def console = Action {
9 Redirect("/")
10 }
11
12}