diff options
author | Unknown <joe2010xtmf@163.com> | 2014-07-02 16:42:16 -0400 |
---|---|---|
committer | Unknown <joe2010xtmf@163.com> | 2014-07-02 16:42:16 -0400 |
commit | 465dc962b5e1febdfc988419d4d03e98f777019f (patch) | |
tree | 8c0f4abc434f75a7add718e98b077cb245608062 /cmd/web.go | |
parent | e57aebb31667a1de54e82cd26e9bbdb8e795039d (diff) | |
download | gitea-465dc962b5e1febdfc988419d4d03e98f777019f.tar.gz gitea-465dc962b5e1febdfc988419d4d03e98f777019f.zip |
Finish create organization team
Diffstat (limited to 'cmd/web.go')
-rw-r--r-- | cmd/web.go | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/cmd/web.go b/cmd/web.go index af92b71384..9056029570 100644 --- a/cmd/web.go +++ b/cmd/web.go @@ -195,9 +195,10 @@ func runWeb(*cli.Context) { r.Get("/:org/dashboard", org.Dashboard) r.Get("/:org/members", org.Members) - r.Get("/:org/teams/:team/edit", org.EditTeam) - r.Get("/:org/teams/new", org.NewTeam) r.Get("/:org/teams", org.Teams) + r.Get("/:org/teams/new", org.NewTeam) + r.Post("/:org/teams/new", bindIgnErr(auth.CreateTeamForm{}), org.NewTeamPost) + r.Get("/:org/teams/:team/edit", org.EditTeam) r.Get("/:org/settings", org.Settings) r.Post("/:org/settings", bindIgnErr(auth.OrgSettingForm{}), org.SettingsPost) |