Commit 7d4cc098 by Carl Bergquist Committed by GitHub

Merge pull request #5924 from cmartin0077/master

feat(api) HEAD response, fixes #3854
parents c0697b99 00507071
......@@ -19,6 +19,9 @@ func Register(r *macaron.Macaron) {
quota := middleware.Quota
bind := binding.Bind
// automatically set HEAD for every GET
r.SetAutoHead(true)
// not logged in views
r.Get("/", reqSignedIn, Index)
r.Get("/logout", Logout)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment