aboutsummaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
authorPacien TRAN-GIRARD2015-02-05 17:43:00 +0100
committerPacien TRAN-GIRARD2015-02-05 17:43:00 +0100
commit9f6ba6c47e90640abb8203986acd1562fd48b84d (patch)
tree6bcbacdd8df8f2a3d82bbddaeb7149870c97019d /conf
parentc30d0b96c3e2958126c7eceab82f7b8aafabab54 (diff)
downloadminibay-9f6ba6c47e90640abb8203986acd1562fd48b84d.tar.gz
Plan routes
Diffstat (limited to 'conf')
-rw-r--r--conf/routes47
1 files changed, 42 insertions, 5 deletions
diff --git a/conf/routes b/conf/routes
index 7adf702..cf3f5ae 100644
--- a/conf/routes
+++ b/conf/routes
@@ -2,13 +2,50 @@
2# This file defines all application routes (Higher priority routes first) 2# This file defines all application routes (Higher priority routes first)
3# ~~~~ 3# ~~~~
4 4
5# Dev
6GET /ebe controllers.Application.ebe
7GET /pepal controllers.Application.pepal
8
5# Home page 9# Home page
6GET / controllers.Application.index 10GET / controllers.Application.index
11GET /terms controllers.Application.index
12GET /privacy controllers.Application.index
7 13
8GET /ebe controllers.Application.ebe 14## User account
9GET /pepal controllers.Application.pepal 15#GET /login controllers.Application.index
16#POST /login controllers.Application.index
17#
18#GET /signup controllers.Application.index
19#POST /signup controllers.Application.index
20#
21#GET /profile controllers.Application.index
22#POST /profile controllers.Application.index
23#
24## Internal wallet and transactions (Pépal)
25#GET /account controllers.Application.index
26#
27#GET /transactions controllers.Application.index
28#
29#GET /deposit controllers.Application.index
30#POST /deposit controllers.Application.index
31#
32#GET /withdraw controllers.Application.index
33#POST /withdraw controllers.Application.index
34#
35## Items and sales (eBé)
36#GET /sales/:page controllers.Application.index
37#
38#GET /item/:uuid controllers.Application.index
39#
40#GET /item/:uuid/bids controllers.Application.index
41#POST /item/:uuid/bids controllers.Application.index
42#
43#GET /sell controllers.Application.index
44#GET /sell/:uuid controllers.Application.index
45#POST /sell controllers.Application.index
10 46
11POST /console controllers.Console.console 47# Cheat console
48POST /console controllers.Console.console
12 49
13# Map static resources from the /public folder to the /assets URL path 50# Map static resources from the /public folder to the /assets URL path
14GET /assets/*file controllers.Assets.at(path="/public", file) 51GET /assets/*file controllers.Assets.at(path="/public", file)