diff options
author | Unknwon <u@gogs.io> | 2016-02-20 15:10:34 -0500 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2016-02-20 15:10:34 -0500 |
commit | 7140dbac95a96849a7f82166439fd72a7b56f9bf (patch) | |
tree | a3ca327c473d9e3ed7664c2597f513acf0e56ab3 /cmd | |
parent | acf094fb0734a1c046a2d68583f95647444a799c (diff) | |
download | gitea-7140dbac95a96849a7f82166439fd72a7b56f9bf.tar.gz gitea-7140dbac95a96849a7f82166439fd72a7b56f9bf.zip |
Fix #857
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/web.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/web.go b/cmd/web.go index 072d31917a..44d9bab00f 100644 --- a/cmd/web.go +++ b/cmd/web.go @@ -398,7 +398,7 @@ func runWeb(ctx *cli.Context) { m.Group("/settings", func() { m.Combo("").Get(repo.Settings). Post(bindIgnErr(auth.RepoSettingForm{}), repo.SettingsPost) - m.Route("/collaboration", "GET,POST", repo.Collaboration) + m.Combo("/collaboration").Get(repo.Collaboration).Post(repo.CollaborationPost) m.Group("/hooks", func() { m.Get("", repo.Webhooks) |