Created
March 28, 2014 09:40
-
-
Save labra/9828971 to your computer and use it in GitHub Desktop.
Simple routes file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Routes | |
# This file defines all application routes (Higher priority routes first) | |
# ~~~~ | |
# Home page | |
GET /saluda controllers.Application.saludaEdad(nombre: String, edad: Int) | |
GET / controllers.Application.index() | |
GET /country controllers.Application.showCountries() | |
GET /country/:code controllers.Application.showCountry(code:String) | |
POST /country controllers.Application.addCountry | |
PUT /country/:code controllers.Application.updateCountry(code:String) | |
DELETE /country/:code controllers.Application.delCountry(code: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