fix(org switch): fixed issue with switching orgs, fixes #4614

This commit is contained in:
Torkel Ödegaard
2016-04-09 13:27:06 -04:00
parent 262c341bdc
commit 370589d6c0
3 changed files with 21 additions and 3 deletions

View File

@ -30,6 +30,7 @@ func Register(r *macaron.Macaron) {
// authed views
r.Get("/profile/", reqSignedIn, Index)
r.Get("/profile/password", reqSignedIn, Index)
r.Get("/profile/switch-org/:id", reqSignedIn, ChangeActiveOrgAndRedirectToHome)
r.Get("/org/", reqSignedIn, Index)
r.Get("/org/new", reqSignedIn, Index)
r.Get("/datasources/", reqSignedIn, Index)