diff options
author | Rémy Boulanouar <rboulanouar@gmail.com> | 2017-06-02 10:43:44 +0200 |
---|---|---|
committer | Bo-Yi Wu <appleboy.tw@gmail.com> | 2017-06-02 03:43:44 -0500 |
commit | 62f600cf1ca5ffe029e470644839ea39283bf023 (patch) | |
tree | b2de4dda4c42354b2f0452c17c00084f89fd8912 /routers/routes | |
parent | 976c2a05fafcecc454634206f9072f3ae23bc055 (diff) | |
download | gitea-62f600cf1ca5ffe029e470644839ea39283bf023.tar.gz gitea-62f600cf1ca5ffe029e470644839ea39283bf023.zip |
Display all organization from user settings (#1739)
* Display all organization from user settings
* fix Tab selection
* Update locale_en-US.ini
* Add a condition for display Create organization button
* Remove french translation
* Remove unnecessary admin flag
Diffstat (limited to 'routers/routes')
-rw-r--r-- | routers/routes/routes.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/routers/routes/routes.go b/routers/routes/routes.go index 0781aef89d..ecb95e3785 100644 --- a/routers/routes/routes.go +++ b/routers/routes/routes.go @@ -223,6 +223,7 @@ func RegisterRoutes(m *macaron.Macaron) { m.Post("/applications/delete", user.SettingsDeleteApplication) m.Route("/delete", "GET,POST", user.SettingsDelete) m.Combo("/account_link").Get(user.SettingsAccountLinks).Post(user.SettingsDeleteAccountLink) + m.Get("/organization", user.SettingsOrganization) m.Group("/two_factor", func() { m.Get("", user.SettingsTwoFactor) m.Post("/regenerate_scratch", user.SettingsTwoFactorRegenerateScratch) |