Skip to content

Instantly share code, notes, and snippets.

@molekilla
Created March 24, 2012 14:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save molekilla/2183411 to your computer and use it in GitHub Desktop.
Save molekilla/2183411 to your computer and use it in GitHub Desktop.
Escuelita de Scala - Parte 3
# Rutas
# ~~~~
# RegPubFinder
GET / controllers.Application.index
GET /about controllers.Application.about
GET /findByName/:searchText controllers.Application.findByName(searchText: String)
GET /typeahead/:searchText controllers.Application.typeahead(searchText: String)
GET /sa/:ficha controllers.Application.show(ficha: String)
# Recursos estaticos /public -> /assets
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