summaryrefslogtreecommitdiffstats
path: root/routers/routes
diff options
context:
space:
mode:
authorRémy Boulanouar <rboulanouar@gmail.com>2017-06-02 10:43:44 +0200
committerBo-Yi Wu <appleboy.tw@gmail.com>2017-06-02 03:43:44 -0500
commit62f600cf1ca5ffe029e470644839ea39283bf023 (patch)
treeb2de4dda4c42354b2f0452c17c00084f89fd8912 /routers/routes
parent976c2a05fafcecc454634206f9072f3ae23bc055 (diff)
downloadgitea-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.go1
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)