From 1ec4626a01da4e21b7e654cb0b6df2f52f6c5d91 Mon Sep 17 00:00:00 2001 From: Pacien TRAN-GIRARD Date: Sun, 8 Feb 2015 20:22:09 +0100 Subject: Define routes to be done --- conf/routes | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) (limited to 'conf/routes') diff --git a/conf/routes b/conf/routes index 06081d1..c245163 100644 --- a/conf/routes +++ b/conf/routes @@ -17,17 +17,22 @@ GET /logout controllers.Authentication.logout GET /signup controllers.Profile.signup POST /signup controllers.Profile.signupSubmit -#GET /profile controllers.Application.index -#POST /profile controllers.Application.index +GET /account controllers.Profile.editProfile +POST /account controllers.Profile.editProfile + +GET /profile/:uuid controllers.Profile.viewProfile(uuid) # Internal wallet and transactions (Pépal) -GET /account controllers.Account.summary +GET /summary controllers.Account.summary + +GET /deposit controllers.Account.deposit +POST /deposit controllers.Account.deposit -#GET /deposit controllers.Application.index -#POST /deposit controllers.Application.index +GET /withdraw controllers.Account.withdraw +POST /withdraw controllers.Account.withdraw -#GET /withdraw controllers.Application.index -#POST /withdraw controllers.Application.index +GET /transfer controllers.Account.transfer +POST /transfer controllers.Account.transfer # Items and sales (eBé) GET /sales controllers.Sale.sales -- cgit v1.2.3