aboutsummaryrefslogtreecommitdiff
path: root/conf/routes
blob: 095c88602f811c9786a9ea55369a098f522008cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# Routes
# This file defines all application routes (Higher priority routes first)
# ~~~~

# Dev
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

# 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
#
#GET         /profile                controllers.Application.index
#POST        /profile                controllers.Application.index
#
## Internal wallet and transactions (Pépal)
#GET         /account                controllers.Application.index
#
#GET         /transactions           controllers.Application.index
#
#GET         /deposit                controllers.Application.index
#POST        /deposit                controllers.Application.index
#
#GET         /withdraw               controllers.Application.index
#POST        /withdraw               controllers.Application.index
#
## Items and sales (eBé)
#GET         /sales/:page            controllers.Application.index
#
#GET         /item/:uuid             controllers.Application.index
#
#GET         /item/:uuid/bids        controllers.Application.index
#POST        /item/:uuid/bids        controllers.Application.index
#
#GET         /sell                   controllers.Application.index
#GET         /sell/:uuid             controllers.Application.index
#POST        /sell                   controllers.Application.index

# Cheat 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)