summaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2016-02-20 15:10:34 -0500
committerUnknwon <u@gogs.io>2016-02-20 15:10:34 -0500
commit7140dbac95a96849a7f82166439fd72a7b56f9bf (patch)
treea3ca327c473d9e3ed7664c2597f513acf0e56ab3 /cmd
parentacf094fb0734a1c046a2d68583f95647444a799c (diff)
downloadgitea-7140dbac95a96849a7f82166439fd72a7b56f9bf.tar.gz
gitea-7140dbac95a96849a7f82166439fd72a7b56f9bf.zip
Fix #857
Diffstat (limited to 'cmd')
-rw-r--r--cmd/web.go2
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)