Calorie counting web application written in the Go language

routes 1.0KB

1234567891011121314151617181920212223242526
  1. # Routes
  2. # This file defines all application routes (Higher priority routes first)
  3. # ~~~~
  4. module:testrunner
  5. GET / Home.Index
  6. GET /about Home.About
  7. POST /overview Home.Overview
  8. GET /me Profile.Index
  9. POST /me/logon Profile.Logon
  10. GET /me/history Profile.History
  11. DELETE /me/history/:id Profile.Delete
  12. GET /me/stats Profile.Stats
  13. POST /me/add Profile.Add
  14. POST /me/goal Profile.Goal
  15. # Ignore favicon requests
  16. GET /favicon.ico 404
  17. # Map static resources from the /app/public folder to the /public path
  18. GET /public/*filepath Static.Serve("public")
  19. # Catch all
  20. * /:controller/:action :controller.:action