X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=blobdiff_plain;f=src%2Ffoundation%2Fapi%2Frevel%2Ftestdata%2Fconf%2Froutes;fp=src%2Ffoundation%2Fapi%2Frevel%2Ftestdata%2Fconf%2Froutes;h=ec40efd953a2cba712eb1103ad803a1f29964297;hb=1d1ee6961c93781e1187d8c7faa868da6b2f01f4;hp=0000000000000000000000000000000000000000;hpb=56dd5e0f2164b37b40ac1daa188ccc618b4cbd19;p=iec.git diff --git a/src/foundation/api/revel/testdata/conf/routes b/src/foundation/api/revel/testdata/conf/routes new file mode 100644 index 0000000..ec40efd --- /dev/null +++ b/src/foundation/api/revel/testdata/conf/routes @@ -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