From 2ee0c61e62a47a620bf0e8f55c896616062008c1 Mon Sep 17 00:00:00 2001 From: Rémy Boulanouar Date: Sat, 28 Jan 2017 04:02:27 +0100 Subject: 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 --- cmd/web.go | 1 + 1 file changed, 1 insertion(+) (limited to 'cmd/web.go') diff --git a/cmd/web.go b/cmd/web.go index 79d28c48..2cbbb7c5 100644 --- a/cmd/web.go +++ b/cmd/web.go @@ -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 -- cgit v1.2.3