Mercurial > hg > Members > nobuyasu > Consensus
view conf/routes @ 31:995be14b30a2
create ClaimModel/getUsersIdAndStatus method
author | one |
---|---|
date | Wed, 03 Oct 2012 15:16:56 +0900 |
parents | 80b5628f17d8 |
children | be6bbd4967e4 |
line wrap: on
line source
# Routes # This file defines all application routes (Higher priority routes first) # ~~~~ # Home page GET / controllers.Application.index() 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) POST /claims/create controllers.Claim.crateClaim() POST /claims/:mentionType/:id/create controllers.Claim.createMention(mentionType: String ,id: String) # test action POST /hello controllers.Application.hello() GET /test controllers.Application.test() # Map static resources from the /public folder to the /assets URL path GET /assets/*file controllers.Assets.at(path="/public", file)