annotate conf/routes @ 10:a8ea4191fa99

modified User.java
author one
date Mon, 01 Oct 2012 20:51:36 +0900
parents d050b7fb4cda
children 9b677755cb93
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()
7
2122c50278bd add Global.java, ande models/*
one
parents: 6
diff changeset
7 PUT /users/create/:name controllers.User.create(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)
a8ea4191fa99 modified User.java
one
parents: 9
diff changeset
11 GET /users/claims/:name controllers.User.getUserClaims(name: String)
a8ea4191fa99 modified User.java
one
parents: 9
diff changeset
12
9
d050b7fb4cda create getUserRequests action
one
parents: 8
diff changeset
13
8
7b314898fddd create action User.getUser()
one
parents: 7
diff changeset
14
7b314898fddd create action User.getUser()
one
parents: 7
diff changeset
15 # test action
7b314898fddd create action User.getUser()
one
parents: 7
diff changeset
16 POST /hello controllers.Application.hello()
7b314898fddd create action User.getUser()
one
parents: 7
diff changeset
17 GET /test controllers.Application.test()
0
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
18
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
19
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
20 # Map static resources from the /public folder to the /assets URL path
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
21 GET /assets/*file controllers.Assets.at(path="/public", file)
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
22