summaryrefslogtreecommitdiffstats
path: root/cmd/web.go
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-07-04 14:44:31 -0400
committerUnknown <joe2010xtmf@163.com>2014-07-04 14:44:31 -0400
commit7f3015b32b27d18300c0baaf26729a89dec43985 (patch)
tree8ed105f3d6ddbe5fb280d2694140e6ddf2537d52 /cmd/web.go
parent13b032f82920c78a890c66569fba372b9994b003 (diff)
parentae7f3eed78bf79eb3dfd49d4a2837fe4913ef89c (diff)
downloadgitea-7f3015b32b27d18300c0baaf26729a89dec43985.tar.gz
gitea-7f3015b32b27d18300c0baaf26729a89dec43985.zip
Merge branch 'dev' of github.com:gogits/gogs into dev
Diffstat (limited to 'cmd/web.go')
-rw-r--r--cmd/web.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/cmd/web.go b/cmd/web.go
index 2f552d8667..0515bcee30 100644
--- a/cmd/web.go
+++ b/cmd/web.go
@@ -26,6 +26,7 @@ import (
"github.com/gogits/gogs/routers"
"github.com/gogits/gogs/routers/admin"
"github.com/gogits/gogs/routers/api/v1"
+ "github.com/gogits/gogs/routers/debug"
"github.com/gogits/gogs/routers/dev"
"github.com/gogits/gogs/routers/org"
"github.com/gogits/gogs/routers/repo"
@@ -205,6 +206,8 @@ func runWeb(*cli.Context) {
r.Post("/:org/settings/delete", org.DeletePost)
}, reqSignIn)
+ debug.RegisterRoutes(m)
+
m.Group("/:username/:reponame", func(r martini.Router) {
r.Get("/settings", repo.Setting)
r.Post("/settings", bindIgnErr(auth.RepoSettingForm{}), repo.SettingPost)