From cb902da50bd75b623a47727e62c0c69913422bfd Mon Sep 17 00:00:00 2001 From: Pacien TRAN-GIRARD Date: Sun, 8 Feb 2015 00:17:21 +0100 Subject: Authentication draft --- conf/routes | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) (limited to 'conf/routes') diff --git a/conf/routes b/conf/routes index cf3f5ae..095c886 100644 --- a/conf/routes +++ b/conf/routes @@ -3,17 +3,19 @@ # ~~~~ # Dev -GET /ebe controllers.Application.ebe -GET /pepal controllers.Application.pepal +GET /ebe controllers.Application.ebe +GET /pepal controllers.Application.pepal # Home page -GET / controllers.Application.index -GET /terms controllers.Application.index -GET /privacy controllers.Application.index +GET / controllers.Application.index +GET /terms controllers.Application.index +GET /privacy controllers.Application.index -## User account -#GET /login controllers.Application.index -#POST /login controllers.Application.index +# User account +GET /login controllers.Auth.login +POST /login controllers.Auth.loginSubmit + +GET /logout controllers.Auth.logout # #GET /signup controllers.Application.index #POST /signup controllers.Application.index @@ -45,7 +47,7 @@ GET /privacy controllers.Application.index #POST /sell controllers.Application.index # Cheat console -POST /console controllers.Console.console +POST /console controllers.Console.console # Map static resources from the /public folder to the /assets URL path -GET /assets/*file controllers.Assets.at(path="/public", file) +GET /assets/*file controllers.Assets.at(path="/public", file) -- cgit v1.2.3