summaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
authorfuxiaohei <fuxiaohei@vip.qq.com>2014-07-07 18:13:42 +0800
committerfuxiaohei <fuxiaohei@vip.qq.com>2014-07-07 18:13:42 +0800
commitc127d8477759d0236cb599b9bde3d8fe9449d723 (patch)
tree58a5640816a7867ae9fa3d2b07df40a74d8de07d /cmd
parent63cc14062a891a99a429f2eef0ee90a3f5795f47 (diff)
downloadgitea-c127d8477759d0236cb599b9bde3d8fe9449d723.tar.gz
gitea-c127d8477759d0236cb599b9bde3d8fe9449d723.zip
add organization team-single page
Diffstat (limited to 'cmd')
-rw-r--r--cmd/web.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd/web.go b/cmd/web.go
index 5f9c168d88..f591c09dd4 100644
--- a/cmd/web.go
+++ b/cmd/web.go
@@ -201,6 +201,8 @@ func runWeb(*cli.Context) {
r.Post("/:org/teams/new", bindIgnErr(auth.CreateTeamForm{}), org.NewTeamPost)
r.Get("/:org/teams/:team/edit", org.EditTeam)
+ r.Get("/:org/team/:team",org.SingleTeam)
+
r.Get("/:org/settings", org.Settings)
r.Post("/:org/settings", bindIgnErr(auth.OrgSettingForm{}), org.SettingsPost)
r.Post("/:org/settings/delete", org.DeletePost)