From d04d732a084f07ca88fdfa82653bdfd2d6798374 Mon Sep 17 00:00:00 2001 From: Pacien TRAN-GIRARD Date: Sat, 24 Jan 2015 20:27:08 +0100 Subject: First website mockup --- app/controllers/Application.scala | 10 +++++++++- app/controllers/Console.scala | 12 ++++++++++++ 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 app/controllers/Console.scala (limited to 'app/controllers') 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._ object Application extends Controller { def index = Action { - Ok(views.html.index("Your new application is ready.")) + Ok(views.html.pages.index("Your new application is ready.")) + } + + def ebe = Action { + Ok(views.html.pages.ebeHomepage()) + } + + def pepal = Action { + Ok(views.html.pages.pepalHomepage()) } } \ 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 @@ +package controllers + +import play.api._ +import play.api.mvc._ + +object Console extends Controller { + + def console = Action { + Redirect("/") + } + +} -- cgit v1.2.3