aboutsummaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
authorPacien TRAN-GIRARD2015-02-08 20:06:39 +0100
committerPacien TRAN-GIRARD2015-02-08 20:06:39 +0100
commit4496e089bca542fc98bfad0e005469211e7cbc1e (patch)
tree8e8473f34d339468eaceb42cee97a9db7f60770e /conf
parentc00cb6ae05f548f7ae270a93ad44f57207380406 (diff)
downloadminibay-4496e089bca542fc98bfad0e005469211e7cbc1e.tar.gz
Implement current sales listing
Diffstat (limited to 'conf')
-rw-r--r--conf/routes55
1 files changed, 28 insertions, 27 deletions
diff --git a/conf/routes b/conf/routes
index d9d1cb1..06081d1 100644
--- a/conf/routes
+++ b/conf/routes
@@ -4,45 +4,46 @@
4 4
5 5
6# Home page 6# Home page
7GET / controllers.Application.index 7GET / controllers.Application.index
8GET /terms controllers.Application.terms 8GET /terms controllers.Application.terms
9GET /privacy controllers.Application.privacy 9GET /privacy controllers.Application.privacy
10 10
11# User account 11# User account
12GET /login controllers.Authentication.login 12GET /login controllers.Authentication.login
13POST /login controllers.Authentication.loginSubmit 13POST /login controllers.Authentication.loginSubmit
14 14
15GET /logout controllers.Authentication.logout 15GET /logout controllers.Authentication.logout
16 16
17GET /signup controllers.Profile.signup 17GET /signup controllers.Profile.signup
18POST /signup controllers.Profile.signupSubmit 18POST /signup controllers.Profile.signupSubmit
19 19
20#GET /profile controllers.Application.index 20#GET /profile controllers.Application.index
21#POST /profile controllers.Application.index 21#POST /profile controllers.Application.index
22# 22
23## Internal wallet and transactions (Pépal) 23# Internal wallet and transactions (Pépal)
24GET /account controllers.Account.summary 24GET /account controllers.Account.summary
25# 25
26#GET /deposit controllers.Application.index 26#GET /deposit controllers.Application.index
27#POST /deposit controllers.Application.index 27#POST /deposit controllers.Application.index
28# 28
29#GET /withdraw controllers.Application.index 29#GET /withdraw controllers.Application.index
30#POST /withdraw controllers.Application.index 30#POST /withdraw controllers.Application.index
31# 31
32## Items and sales (eBé) 32# Items and sales (eBé)
33#GET /sales/:page controllers.Application.index 33GET /sales controllers.Sale.sales
34# 34
35#GET /item/:uuid controllers.Application.index 35GET /item/:uuid controllers.Sale.item(uuid)
36# 36
37#GET /item/:uuid/bids controllers.Application.index 37GET /item/:uuid/bids controllers.Sale.bids(uuid)
38#POST /item/:uuid/bids controllers.Application.index 38POST /item/:uuid/bids controllers.Sale.bids(uuid)
39# 39
40#GET /sell controllers.Application.index 40GET /sell controllers.Sale.sell(itemUuid = null)
41#GET /sell/:uuid controllers.Application.index 41GET /sell/:uuid controllers.Sale.sell(uuid)
42#POST /sell controllers.Application.index 42POST /sell controllers.Sale.sell(itemUuid = null)
43POST /sell/:uuid controllers.Sale.sell(uuid)
43 44
44# Cheat console 45# Cheat console
45POST /console controllers.Console.console 46POST /console controllers.Console.console
46 47
47# Map static resources from the /public folder to the /assets URL path 48# Map static resources from the /public folder to the /assets URL path
48GET /assets/*file controllers.Assets.at(path="/public", file) 49GET /assets/*file controllers.Assets.at(path="/public", file)