diff options
author | Rémy Boulanouar <rboulanouar@gmail.com> | 2017-01-28 04:02:27 +0100 |
---|---|---|
committer | 无闻 <u@gogs.io> | 2017-01-27 22:02:27 -0500 |
commit | 2ee0c61e62a47a620bf0e8f55c896616062008c1 (patch) | |
tree | e59ad87b381f36bf537d9255c28411327ac50e7e /cmd | |
parent | 3d23c131609e382c8874da247787cddb10ca0204 (diff) |
Setting orgs (#3587)
* Implement organizations listing in setting and allow user to create new organization.
* Implement organizations listing in setting and allow user to create new organization.
* Add space remove by mistake
* Remove unused part of the template
* Update display and behavior according to @Unknown remarks
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/web.go | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -247,6 +247,7 @@ func runWeb(ctx *cli.Context) error { m.Combo("/applications").Get(user.SettingsApplications). Post(bindIgnErr(auth.NewAccessTokenForm{}), user.SettingsApplicationsPost) m.Post("/applications/delete", user.SettingsDeleteApplication) + m.Get("/organizations", user.SettingsOrganizations) m.Route("/delete", "GET,POST", user.SettingsDelete) }, reqSignIn, func(ctx *context.Context) { ctx.Data["PageIsUserSettings"] = true |