diff options
author | Unknwon <joe2010xtmf@163.com> | 2014-08-15 18:29:41 +0800 |
---|---|---|
committer | Unknwon <joe2010xtmf@163.com> | 2014-08-15 18:29:41 +0800 |
commit | 36b4c57ff13198196134b853f624fb633061734d (patch) | |
tree | e973d2aad41823e50c951a08ec8742030141d675 /cmd | |
parent | 3e32b14ad4da2db1b05eeec73936dbbe79cecc45 (diff) | |
download | gitea-36b4c57ff13198196134b853f624fb633061734d.tar.gz gitea-36b4c57ff13198196134b853f624fb633061734d.zip |
Finish new organization members and invitation page
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/web.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cmd/web.go b/cmd/web.go index 03704c64de..03e5e86066 100644 --- a/cmd/web.go +++ b/cmd/web.go @@ -232,6 +232,7 @@ func runWeb(*cli.Context) { m.Group("/:org", func(r *macaron.Router) { r.Get("/dashboard", user.Dashboard) r.Get("/members", org.Members) + r.Get("/members/action/:action", org.MembersAction) r.Get("/teams", org.Teams) r.Get("/teams/:team", org.SingleTeam) @@ -248,6 +249,10 @@ func runWeb(*cli.Context) { r.Route("/delete", "GET,POST", org.SettingsDelete) }) }, middleware.OrgAssignment(true, true, true)) + + m.Group("/:org", func(r *macaron.Router) { + r.Route("/invitations/new", "GET,POST", org.Invitation) + }, middleware.OrgAssignment(true, false, false, true)) }, reqSignIn) // Repository routers. |