Add API Framework Revel Source Files
[iec.git] / src / foundation / api / revel / testdata / conf / routes
1 # Routes
2 # This file defines all application routes (Higher priority routes first)
3 # ~~~~
4
5 module:testrunner
6
7 GET     /hotels                                 Hotels.Index
8 GET     /hotels/:id                             Hotels.Show
9 GET     /hotels/:id/booking                     Hotels.Book
10
11 # Map static resources from the /app/public folder to the /public path
12 GET     /public/*filepath                       Static.Serve("public")
13 GET     /favicon.ico                            Static.Serve("public/img","favicon.png")
14
15 # Catch all
16 *       /:controller/:action                    :controller.:action