view conf/routes @ 16:7cdc9d19834f

modified createClaim
author one
date Tue, 02 Oct 2012 13:52:31 +0900
parents 9b677755cb93
children 97b249d9fad1
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)

POST	/claims/create			controllers.Claim.crateClaim()


# 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)