Calorie counting web application written in the Go language

routes 965B

12345678910111213141516171819202122232425
  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. GET /me Profile.Index
  8. POST /me/logon Profile.Logon
  9. GET /me/history Profile.History
  10. DELETE /me/history/:id Profile.Delete
  11. GET /me/stats Profile.Stats
  12. POST /me/add Profile.Add
  13. POST /me/goal Profile.Goal
  14. # Ignore favicon requests
  15. GET /favicon.ico 404
  16. # Map static resources from the /app/public folder to the /public path
  17. GET /public/*filepath Static.Serve("public")
  18. # Catch all
  19. * /:controller/:action :controller.:action