annotate conf/routes @ 31:995be14b30a2

create ClaimModel/getUsersIdAndStatus method
author one
date Wed, 03 Oct 2012 15:16:56 +0900
parents 80b5628f17d8
children be6bbd4967e4
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
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
one
parents: 4
diff changeset
6 GET / controllers.Application.index()
13
9b677755cb93 create action Claim/createClaim
one
parents: 10
diff changeset
7 PUT /users/create/:name controllers.User.createUser(name: String)
8
7b314898fddd create action User.getUser()
one
parents: 7
diff changeset
8 GET /users/browse/:name controllers.User.getUser(name: String)
9
d050b7fb4cda create getUserRequests action
one
parents: 8
diff changeset
9 GET /users/requests/:name controllers.User.getUserRequests(name: String)
10
a8ea4191fa99 modified User.java
one
parents: 9
diff changeset
10 GET /users/consensus/:name controllers.User.getUserConsensus(name: String)
31
995be14b30a2 create ClaimModel/getUsersIdAndStatus method
one
parents: 30
diff changeset
11 GET /users/claims/:name controllers.User.getUserClaims(name: String)
10
a8ea4191fa99 modified User.java
one
parents: 9
diff changeset
12
31
995be14b30a2 create ClaimModel/getUsersIdAndStatus method
one
parents: 30
diff changeset
13 GET /claims/browse/:id controllers.Claim.getClaimInfo(id: String)
30
80b5628f17d8 modified ClaimModel/getInfo action
one
parents: 29
diff changeset
14 GET /claims/consensus/:id controllers.Claim.getClaimTree(id: String)
29
fbb232e78422 create getClaimInfo
one
parents: 25
diff changeset
15
31
995be14b30a2 create ClaimModel/getUsersIdAndStatus method
one
parents: 30
diff changeset
16 POST /claims/create controllers.Claim.crateClaim()
25
97b249d9fad1 fix infinite loop on getConsensus Action
one
parents: 16
diff changeset
17 POST /claims/:mentionType/:id/create controllers.Claim.createMention(mentionType: String ,id: String)
8
7b314898fddd create action User.getUser()
one
parents: 7
diff changeset
18
30
80b5628f17d8 modified ClaimModel/getInfo action
one
parents: 29
diff changeset
19
80b5628f17d8 modified ClaimModel/getInfo action
one
parents: 29
diff changeset
20
8
7b314898fddd create action User.getUser()
one
parents: 7
diff changeset
21 # test action
7b314898fddd create action User.getUser()
one
parents: 7
diff changeset
22 POST /hello controllers.Application.hello()
7b314898fddd create action User.getUser()
one
parents: 7
diff changeset
23 GET /test controllers.Application.test()
0
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
24
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
25
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
26 # Map static resources from the /public folder to the /assets URL path
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
27 GET /assets/*file controllers.Assets.at(path="/public", file)
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
28