diff options
Diffstat (limited to 'app/controllers')
-rw-r--r-- | app/controllers/Application.scala | 10 | ||||
-rw-r--r-- | app/controllers/Console.scala | 12 |
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._ | |||
6 | object Application extends Controller { | 6 | object 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 @@ | |||
1 | package controllers | ||
2 | |||
3 | import play.api._ | ||
4 | import play.api.mvc._ | ||
5 | |||
6 | object Console extends Controller { | ||
7 | |||
8 | def console = Action { | ||
9 | Redirect("/") | ||
10 | } | ||
11 | |||
12 | } | ||