Mercurial > hg > Members > nobuyasu > Consensus
annotate conf/routes @ 129:21e746cdc99e draft
modified viewer.html
author | Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Wed, 24 Apr 2013 04:14:52 +0900 (2013-04-23) |
parents | 35eeb04a788d |
children |
rev | line source |
---|---|
0 | 1 # Routes |
2 # This file defines all application routes (Higher priority routes first) | |
3 # ~~~~ | |
4 | |
5 # Home page | |
50 | 6 #GET / controllers.Application.index() |
40 | 7 GET /users/all controllers.User.getAllUsers() |
13 | 8 PUT /users/create/:name controllers.User.createUser(name: String) |
8 | 9 GET /users/browse/:name controllers.User.getUser(name: String) |
9 | 10 GET /users/requests/:name controllers.User.getUserRequests(name: String) |
10 | 11 GET /users/consensus/:name controllers.User.getUserConsensus(name: String) |
31 | 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) |
39 | 15 GET /consensus/browse/:id controllers.Claim.getClaimTree(id: String) |
16 GET /claims/answer/:id/:name controllers.Claim.getUserConsensusStatus(id: String, name: String) | |
41 | 17 POST /claims/answer/:id/:name/:status controllers.Claim.updateUserConsensusStatus(id: String, name: String, status: String) |
57 | 18 POST /claims/create controllers.Claim.createClaim() |
25 | 19 POST /claims/:mentionType/:id/create controllers.Claim.createMention(mentionType: String ,id: String) |
36 | 20 POST /claims/edit/:id controllers.Claim.editClaim(id: String) |
30 | 21 |
79 | 22 # latest |
23 GET /users/latest/consensus/:name controllers.User.getUserLatestConsensus(name: String) | |
92
35eeb04a788d
create getLatestClaimTree action. modified createMention action and viewer.html.
one
parents:
84
diff
changeset
|
24 GET /consensus/browse/latest/:id controllers.Claim.getLatestClaimTree(id: String) |
81 | 25 GET /users/latest/claims/:name controllers.User.getUserLatestClaims(name: String) |
79 | 26 |
84 | 27 # revision |
28 GET /claims/get/revision/:id controllers.Claim.getClaimRevision(id: String) | |
29 | |
30 # test action | |
31 GET /copytree/:id controllers.Claim.copyClaims(id: String) | |
32 | |
33 # reset is sample action for demo. | |
63 | 34 GET /reset controllers.Claim.reset() |
30 | 35 |
8 | 36 # test action |
37 POST /hello controllers.Application.hello() | |
38 GET /test controllers.Application.test() | |
0 | 39 |
40 | |
41 # Map static resources from the /public folder to the /assets URL path | |
50 | 42 #GET /assets/*file controllers.Assets.at(path="/public", file) |
43 GET / controllers.Assets.at(path="/public/viewer", file="index.html") | |
44 GET /*file controllers.Assets.at(path="/public/viewer", file) | |
0 | 45 |