gogits/gogs — pull request #275 by nuss-justin (2014-07-05 15:28:06+00:00)
Title: Fix wrong method for profiling routes.

It's me again.

I just found out that I incorrectly used GET as method for all routes, while profiling methods (which uses /debug/pprof/symbol) also needs POST.

This commit makes the routes listen for requests with all routes, as it is done for the net/http router.