From 755eec745fa324fdd13078f0147638f8731652ba Mon Sep 17 00:00:00 2001 From: Unknwon Date: Sat, 2 Aug 2014 13:47:33 -0400 Subject: Finish new repo settings page --- cmd/web.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'cmd/web.go') 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) -- cgit v1.2.3