aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/web.go
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-06-27 03:37:01 -0400
committerUnknown <joe2010xtmf@163.com>2014-06-27 03:37:01 -0400
commit19e910428951135b9a341554dad54a6546d2ad50 (patch)
treefde86e17d1cfccd3fb42b1f57f0f1eb9f0f9b9be /cmd/web.go
parent32b09681b2da96afe9a44790e7944c4ac51e696c (diff)
downloadgitea-19e910428951135b9a341554dad54a6546d2ad50.tar.gz
gitea-19e910428951135b9a341554dad54a6546d2ad50.zip
Organization settings page
Diffstat (limited to 'cmd/web.go')
-rw-r--r--cmd/web.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/cmd/web.go b/cmd/web.go
index 878fdeac70..729a1ba28f 100644
--- a/cmd/web.go
+++ b/cmd/web.go
@@ -190,12 +190,13 @@ func runWeb(*cli.Context) {
m.Group("/org", func(r martini.Router) {
r.Get("/create", org.New)
- r.Post("/create", bindIgnErr(auth.CreateOrganizationForm{}), org.NewPost)
+ r.Post("/create", bindIgnErr(auth.CreateOrgForm{}), org.NewPost)
r.Get("/:org", org.Organization)
r.Get("/:org/dashboard", org.Dashboard)
r.Get("/:org/members", org.Members)
r.Get("/:org/teams", org.Teams)
- r.Get("/:org/setting", org.Setting)
+ r.Get("/:org/settings", org.Settings)
+ r.Post("/:org/settings", bindIgnErr(auth.OrgSettingForm{}), org.SettingsPost)
}, reqSignIn)
m.Group("/:username/:reponame", func(r martini.Router) {