Mercurial > hg > Members > nobuyasu > Consensus
diff target/scala-2.9.1/classes/routes @ 40:1d5c086e069b
create getAllUsers() action.
author | one |
---|---|
date | Thu, 04 Oct 2012 01:59:21 +0900 |
parents | bc3ac73320f9 |
children | 4321d97da830 |
line wrap: on
line diff
--- a/target/scala-2.9.1/classes/routes Thu Oct 04 01:39:44 2012 +0900 +++ b/target/scala-2.9.1/classes/routes Thu Oct 04 01:59:21 2012 +0900 @@ -4,19 +4,21 @@ # Home page GET / controllers.Application.index() +GET /users/all controllers.User.getAllUsers() PUT /users/create/:name controllers.User.createUser(name: String) GET /users/browse/:name controllers.User.getUser(name: String) GET /users/requests/:name controllers.User.getUserRequests(name: String) GET /users/consensus/:name controllers.User.getUserConsensus(name: String) GET /users/claims/:name controllers.User.getUserClaims(name: String) - GET /claims/browse/:id controllers.Claim.getClaimInfo(id: String) GET /claims/consensus/:id controllers.Claim.getClaimTree(id: String) +GET /consensus/browse/:id controllers.Claim.getClaimTree(id: String) +GET /claims/answer/:id/:name controllers.Claim.getUserConsensusStatus(id: String, name: String) + POST /claims/create controllers.Claim.crateClaim() POST /claims/:mentionType/:id/create controllers.Claim.createMention(mentionType: String ,id: String) POST /claims/edit/:id controllers.Claim.editClaim(id: String) -GET /consensus/browse/:id controllers.Claim.getClaimTree(id: String) # test action