summaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
authorUnknwon <joe2010xtmf@163.com>2014-08-02 13:47:33 -0400
committerUnknwon <joe2010xtmf@163.com>2014-08-02 13:47:33 -0400
commit755eec745fa324fdd13078f0147638f8731652ba (patch)
tree3c04a98d64e128d2ce8887cc20ed361f04010052 /cmd
parent669552e255fb98021b779918394c65792fe6f1d2 (diff)
downloadgitea-755eec745fa324fdd13078f0147638f8731652ba.tar.gz
gitea-755eec745fa324fdd13078f0147638f8731652ba.zip
Finish new repo settings page
Diffstat (limited to 'cmd')
-rw-r--r--cmd/web.go5
1 files changed, 2 insertions, 3 deletions
diff --git a/cmd/web.go b/cmd/web.go
index bd2eb79dbd..995aeb04a9 100644
--- a/cmd/web.go
+++ b/cmd/web.go
@@ -242,9 +242,8 @@ func runWeb(*cli.Context) {
}, reqSignIn)
m.Group("/:username/:reponame", func(r *macaron.Router) {
- r.Get("/settings", repo.Setting)
- r.Post("/settings", bindIgnErr(auth.RepoSettingForm{}), repo.SettingPost)
-
+ r.Get("/settings", repo.Settings)
+ r.Post("/settings", bindIgnErr(auth.RepoSettingForm{}), repo.SettingsPost)
m.Group("/settings", func(r *macaron.Router) {
r.Get("/collaboration", repo.Collaboration)
r.Post("/collaboration", repo.CollaborationPost)