From d79239a89c795035ea8d8a971aa9953d9e9a8e48 Mon Sep 17 00:00:00 2001 From: Pacien TRAN-GIRARD Date: Mon, 9 Feb 2015 00:14:18 +0100 Subject: Implement item pages and bids --- conf/routes | 51 +++++++++++++++++++++++++-------------------------- 1 file changed, 25 insertions(+), 26 deletions(-) (limited to 'conf') diff --git a/conf/routes b/conf/routes index 903480d..21a5b46 100644 --- a/conf/routes +++ b/conf/routes @@ -4,51 +4,50 @@ # Home page -GET / controllers.Application.index -GET /terms controllers.Application.terms -GET /privacy controllers.Application.privacy +GET / controllers.Application.index +GET /terms controllers.Application.terms +GET /privacy controllers.Application.privacy # User account -GET /login controllers.Authentication.login -POST /login controllers.Authentication.loginSubmit +GET /login controllers.Authentication.login +POST /login controllers.Authentication.loginSubmit -GET /logout controllers.Authentication.logout +GET /logout controllers.Authentication.logout -GET /signup controllers.Profile.signup -POST /signup controllers.Profile.signupSubmit +GET /signup controllers.Profile.signup +POST /signup controllers.Profile.signupSubmit -GET /account controllers.Profile.editProfile -POST /account controllers.Profile.editProfile +GET /account controllers.Profile.editProfile +POST /account controllers.Profile.editProfile -GET /profile/:uuid controllers.Profile.viewProfile(uuid) +GET /profile/:uuid controllers.Profile.viewProfile(uuid) # Internal wallet and transactions (Pépal) -GET /summary controllers.Account.summary +GET /summary controllers.Account.summary -GET /deposit controllers.Account.deposit -POST /deposit controllers.Account.deposit +GET /deposit controllers.Account.deposit +POST /deposit controllers.Account.deposit -GET /withdraw controllers.Account.withdraw -POST /withdraw controllers.Account.withdraw +GET /withdraw controllers.Account.withdraw +POST /withdraw controllers.Account.withdraw -GET /transfer controllers.Account.transfer -POST /transfer controllers.Account.transfer +GET /transfer controllers.Account.transfer +POST /transfer controllers.Account.transfer # Items and sales (eBé) -GET /sales controllers.Sale.sales +GET /sales controllers.Sale.sales -GET /item/:uuid controllers.Sale.item(uuid) +GET /item/:uuid controllers.Sale.item(uuid) -GET /item/:uuid/bids controllers.Sale.bids(uuid) -POST /item/:uuid/bids controllers.Sale.bids(uuid) +POST /item/:uuid/bid controllers.Sale.bidSubmit(uuid) -GET /sell controllers.Sale.sell +GET /sell controllers.Sale.sell #GET /sell/:uuid controllers.Sale.sell(uuid) -POST /sell controllers.Sale.sellSubmit +POST /sell controllers.Sale.sellSubmit #POST /sell/:uuid controllers.Sale.sell # 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