Add API Framework Revel Source Files
[iec.git] / src / foundation / api / revel / testdata / conf / routes
diff --git a/src/foundation/api/revel/testdata/conf/routes b/src/foundation/api/revel/testdata/conf/routes
new file mode 100644 (file)
index 0000000..ec40efd
--- /dev/null
@@ -0,0 +1,16 @@
+# Routes
+# This file defines all application routes (Higher priority routes first)
+# ~~~~
+
+module:testrunner
+
+GET     /hotels                                 Hotels.Index
+GET     /hotels/:id                             Hotels.Show
+GET     /hotels/:id/booking                     Hotels.Book
+
+# Map static resources from the /app/public folder to the /public path
+GET     /public/*filepath                       Static.Serve("public")
+GET     /favicon.ico                            Static.Serve("public/img","favicon.png")
+
+# Catch all
+*       /:controller/:action                    :controller.:action