Mercurial > hg > Members > nobuyasu > Consensus
diff conf/routes @ 8:7b314898fddd
create action User.getUser()
author | one |
---|---|
date | Mon, 01 Oct 2012 19:53:43 +0900 |
parents | 2122c50278bd |
children | d050b7fb4cda |
line wrap: on
line diff
--- a/conf/routes Mon Oct 01 18:51:30 2012 +0900 +++ b/conf/routes Mon Oct 01 19:53:43 2012 +0900 @@ -4,8 +4,12 @@ # Home page GET / controllers.Application.index() -POST /db/data/node controllers.Application.hello() PUT /users/create/:name controllers.User.create(name: String) +GET /users/browse/:name controllers.User.getUser(name: 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