Skip to content

Instantly share code, notes, and snippets.

@chadothompson
Created January 17, 2013 18:34
Show Gist options
  • Save chadothompson/4558362 to your computer and use it in GitHub Desktop.
Save chadothompson/4558362 to your computer and use it in GitHub Desktop.
# Home page
GET / controllers.Application.index()
# Tasks
GET /tasks controllers.Application.tasks()
POST /tasks controllers.Application.newTask()
POST /tasks/:id/delete controllers.Application.deleteTask(id: Long)
# Map static resources from the /public folder to the /assets URL path
GET /assets/*file controllers.Assets.at(path="/public", file)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment