summaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
authorfuxiaohei <fuxiaohei@vip.qq.com>2014-06-27 22:04:04 +0800
committerfuxiaohei <fuxiaohei@vip.qq.com>2014-06-27 22:04:04 +0800
commit1d55ecd29ce261cd3adf78649a44aaa30e4fd468 (patch)
tree382e94fe58866b8d6f5a30da123159e31e4510bd /cmd
parentb5ba2bd268b144ae0c878fe17257d8685d92f9cc (diff)
downloadgitea-1d55ecd29ce261cd3adf78649a44aaa30e4fd468.tar.gz
gitea-1d55ecd29ce261cd3adf78649a44aaa30e4fd468.zip
add organization team-create page
Diffstat (limited to 'cmd')
-rw-r--r--cmd/web.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd/web.go b/cmd/web.go
index bf84d5872b..1668fae240 100644
--- a/cmd/web.go
+++ b/cmd/web.go
@@ -195,7 +195,8 @@ func runWeb(*cli.Context) {
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/:team/edit", org.EditTeam)
+ r.Get("/:org/teams/new", org.NewTeam)
r.Get("/:org/teams", org.Teams)
r.Get("/:org/settings", org.Settings)