Skip to content

Instantly share code, notes, and snippets.

@basav
Created August 20, 2012 14:25
Show Gist options
  • Save basav/3404695 to your computer and use it in GitHub Desktop.
Save basav/3404695 to your computer and use it in GitHub Desktop.
# Routes
# This file defines all application routes (Higher priority routes first)
# ~~~~
# Home page
GET / controllers.Application.index()
GET /assets/phones/:phoneId controllers.Application.phones(phoneId: String)
# 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