comparison conf/routes @ 50:d6c623e92837

modified routes
author one
date Thu, 04 Oct 2012 16:14:30 +0900
parents f78442777849
children ed77c5258568
comparison
equal deleted inserted replaced
49:36ddbd5e5d45 50:d6c623e92837
1 # Routes 1 # Routes
2 # This file defines all application routes (Higher priority routes first) 2 # This file defines all application routes (Higher priority routes first)
3 # ~~~~ 3 # ~~~~
4 4
5 # Home page 5 # Home page
6 GET / controllers.Application.index() 6 #GET / controllers.Application.index()
7 GET /users/all controllers.User.getAllUsers() 7 GET /users/all controllers.User.getAllUsers()
8 PUT /users/create/:name controllers.User.createUser(name: String) 8 PUT /users/create/:name controllers.User.createUser(name: String)
9 GET /users/browse/:name controllers.User.getUser(name: String) 9 GET /users/browse/:name controllers.User.getUser(name: String)
10 GET /users/requests/:name controllers.User.getUserRequests(name: String) 10 GET /users/requests/:name controllers.User.getUserRequests(name: String)
11 GET /users/consensus/:name controllers.User.getUserConsensus(name: String) 11 GET /users/consensus/:name controllers.User.getUserConsensus(name: String)
24 POST /hello controllers.Application.hello() 24 POST /hello controllers.Application.hello()
25 GET /test controllers.Application.test() 25 GET /test controllers.Application.test()
26 26
27 27
28 # Map static resources from the /public folder to the /assets URL path 28 # Map static resources from the /public folder to the /assets URL path
29 GET /assets/*file controllers.Assets.at(path="/public", file) 29 #GET /assets/*file controllers.Assets.at(path="/public", file)
30 GET / controllers.Assets.at(path="/public/viewer", file="index.html")
31 GET /*file controllers.Assets.at(path="/public/viewer", file)
30 32