Calorie counting web application written in the Go language

routes 874B

123456789101112131415161718192021222324
  1. # Routes
  2. # This file defines all application routes (Higher priority routes first)
  3. # ~~~~
  4. module:testrunner
  5. GET / App.Index
  6. GET /about App.About
  7. GET /me App.Me
  8. GET /me/stats App.Stats
  9. POST /me/add App.Add
  10. GET /me/goal App.Goal
  11. POST /me/goal App.SetGoal
  12. GET /me/streak App.Streak
  13. # Ignore favicon requests
  14. GET /favicon.ico 404
  15. # Map static resources from the /app/public folder to the /public path
  16. GET /public/*filepath Static.Serve("public")
  17. # Catch all
  18. * /:controller/:action :controller.:action