0
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
1 # Routes
|
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
2 # This file defines all application routes (Higher priority routes first)
|
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
3 # ~~~~
|
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
4
|
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
5 # Home page
|
5
|
6 GET / controllers.Application.index()
|
13
|
7 PUT /users/create/:name controllers.User.createUser(name: String)
|
8
|
8 GET /users/browse/:name controllers.User.getUser(name: String)
|
9
|
9 GET /users/requests/:name controllers.User.getUserRequests(name: String)
|
10
|
10 GET /users/consensus/:name controllers.User.getUserConsensus(name: String)
|
|
11 GET /users/claims/:name controllers.User.getUserClaims(name: String)
|
|
12
|
9
|
13
|
8
|
14
|
|
15 # test action
|
|
16 POST /hello controllers.Application.hello()
|
|
17 GET /test controllers.Application.test()
|
0
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
18
|
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
19
|
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
20 # Map static resources from the /public folder to the /assets URL path
|
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
21 GET /assets/*file controllers.Assets.at(path="/public", file)
|
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
22
|