Child: [14c0cf] (diff)

Download this file

routes    19 lines (14 with data), 824 Bytes

# Routes
# This file defines all application routes (Higher priority routes first)
# ~~~~

# Home page
GET     /                           	controllers.Application.index()
GET		/projects						controllers.Application.projects()
GET		/project/:name 					controllers.Application.getProject(name : String)
GET		/search							controllers.Application.search()

GET		/api/projects					controllers.ClientAPIController.projects()
GET		/api/project/:name				controllers.ClientAPIController.getProject(name: String)
GET		/api/project/:name/metric/:id	controllers.ClientAPIController.getMetric(name: String, id: String)

# TODO: paging (of something, projects? a project's metrics?)

# Map static resources from the /public folder to the /assets URL path
GET     /assets/*file               	controllers.Assets.at(path="/public", file)