Calorie counting web application written in the Go language

routes 1.1KB

12345678910111213141516171819202122232425262728
  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. GET /me/trends Profile.Trends
  14. POST /me/add Profile.Add
  15. POST /me/goal Profile.Goal
  16. POST /me/weight Profile.Weight
  17. # Ignore favicon requests
  18. GET /favicon.ico 404
  19. # Map static resources from the /app/public folder to the /public path
  20. GET /public/*filepath Static.Serve("public")
  21. # Catch all
  22. * /:controller/:action :controller.:action