summaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
authorfuxiaohei <fuxiaohei@vip.qq.com>2014-06-27 21:33:49 +0800
committerfuxiaohei <fuxiaohei@vip.qq.com>2014-06-27 21:33:49 +0800
commitb5ba2bd268b144ae0c878fe17257d8685d92f9cc (patch)
treecce0b7d9d21df81fa7c7bb4783c4db7c5745de0f /cmd
parent19e910428951135b9a341554dad54a6546d2ad50 (diff)
downloadgitea-b5ba2bd268b144ae0c878fe17257d8685d92f9cc.tar.gz
gitea-b5ba2bd268b144ae0c878fe17257d8685d92f9cc.zip
add organization team-create page
Diffstat (limited to 'cmd')
-rw-r--r--cmd/web.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/cmd/web.go b/cmd/web.go
index 729a1ba28f..bf84d5872b 100644
--- a/cmd/web.go
+++ b/cmd/web.go
@@ -194,7 +194,10 @@ func runWeb(*cli.Context) {
r.Get("/:org", org.Organization)
r.Get("/:org/dashboard", org.Dashboard)
r.Get("/:org/members", org.Members)
+ // organization teams
+ r.Get("/:org/teams/new",org.NewTeam)
r.Get("/:org/teams", org.Teams)
+
r.Get("/:org/settings", org.Settings)
r.Post("/:org/settings", bindIgnErr(auth.OrgSettingForm{}), org.SettingsPost)
}, reqSignIn)