diff options
author | Unknwon <joe2010xtmf@163.com> | 2014-08-02 13:47:33 -0400 |
---|---|---|
committer | Unknwon <joe2010xtmf@163.com> | 2014-08-02 13:47:33 -0400 |
commit | 755eec745fa324fdd13078f0147638f8731652ba (patch) | |
tree | 3c04a98d64e128d2ce8887cc20ed361f04010052 /cmd | |
parent | 669552e255fb98021b779918394c65792fe6f1d2 (diff) | |
download | gitea-755eec745fa324fdd13078f0147638f8731652ba.tar.gz gitea-755eec745fa324fdd13078f0147638f8731652ba.zip |
Finish new repo settings page
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/web.go | 5 |
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) |