~netlandish/links

3af1e32668440a19dc458403373e8e25f01d1cf0 — Peter Sanchez 4 months ago d3d59a1
Redirect to org list when adding new org
1 files changed, 1 insertions(+), 1 deletions(-)

M core/routes.go
M core/routes.go => core/routes.go +1 -1
@@ 804,7 804,7 @@ func (s *Service) OrgCreate(c echo.Context) error {
		}

		messages.Success(c, lt.Translate("Organization created successfully"))
		return c.Redirect(http.StatusMovedPermanently, c.Echo().Reverse("accounts:settings"))
		return c.Redirect(http.StatusMovedPermanently, c.Echo().Reverse("core:org_list"))

	}
	gmap["form"] = form