Mercurial > hg > Members > nobuyasu > Consensus
annotate target/scala-2.9.1/classes/routes @ 42:4321d97da830
modified updateUserConsensusStatus
author | one |
---|---|
date | Thu, 04 Oct 2012 04:15:14 +0900 |
parents | 1d5c086e069b |
children | a76259e2ca9f |
rev | line source |
---|---|
0 | 1 # Routes |
2 # This file defines all application routes (Higher priority routes first) | |
3 # ~~~~ | |
4 | |
5 # Home page | |
6
d6afc58ce3f5
remove target/
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
4
diff
changeset
|
6 GET / controllers.Application.index() |
40 | 7 GET /users/all controllers.User.getAllUsers() |
17 | 8 PUT /users/create/:name controllers.User.createUser(name: String) |
9 | 9 GET /users/browse/:name controllers.User.getUser(name: String) |
10 GET /users/requests/:name controllers.User.getUserRequests(name: String) | |
11 | 11 GET /users/consensus/:name controllers.User.getUserConsensus(name: String) |
32 | 12 GET /users/claims/:name controllers.User.getUserClaims(name: String) |
13 GET /claims/browse/:id controllers.Claim.getClaimInfo(id: String) | |
30 | 14 GET /claims/consensus/:id controllers.Claim.getClaimTree(id: String) |
40 | 15 GET /consensus/browse/:id controllers.Claim.getClaimTree(id: String) |
16 GET /claims/answer/:id/:name controllers.Claim.getUserConsensusStatus(id: String, name: String) | |
42 | 17 POST /claims/answer/:id/:name/:status controllers.Claim.updateUserConsensusStatus(id: String, name: String, status: String) |
32 | 18 POST /claims/create controllers.Claim.crateClaim() |
26 | 19 POST /claims/:mentionType/:id/create controllers.Claim.createMention(mentionType: String ,id: String) |
37 | 20 POST /claims/edit/:id controllers.Claim.editClaim(id: String) |
30 | 21 |
22 | |
9 | 23 # test action |
24 POST /hello controllers.Application.hello() | |
25 GET /test controllers.Application.test() | |
0 | 26 |
27 | |
28 # Map static resources from the /public folder to the /assets URL path | |
29 GET /assets/*file controllers.Assets.at(path="/public", file) | |
30 |