mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-13 04:59:59 +02:00
3685: Fix redirect link on organization overview form (#3867)
* Fix redirect links to organization forms
This commit is contained in:
parent
4f77fa661f
commit
d5a521af0a
1 changed files with 3 additions and 3 deletions
|
@ -993,8 +993,8 @@ class PortfolioOrganizationInfoView(DetailView, FormMixin):
|
||||||
return self.render_to_response(self.get_context_data(form=form))
|
return self.render_to_response(self.get_context_data(form=form))
|
||||||
|
|
||||||
def get_success_url(self):
|
def get_success_url(self):
|
||||||
"""Redirect to the overview page for the portfolio."""
|
"""Redirect to the org info page for the portfolio."""
|
||||||
return reverse("organization")
|
return reverse("organization-info")
|
||||||
|
|
||||||
|
|
||||||
@grant_access(IS_PORTFOLIO_MEMBER)
|
@grant_access(IS_PORTFOLIO_MEMBER)
|
||||||
|
@ -1065,7 +1065,7 @@ class PortfolioSeniorOfficialView(DetailView, FormMixin):
|
||||||
|
|
||||||
def get_success_url(self):
|
def get_success_url(self):
|
||||||
"""Redirect to the overview page for the portfolio."""
|
"""Redirect to the overview page for the portfolio."""
|
||||||
return reverse("senior-official")
|
return reverse("organization-senior-official")
|
||||||
|
|
||||||
|
|
||||||
@grant_access(HAS_PORTFOLIO_MEMBERS_ANY_PERM)
|
@grant_access(HAS_PORTFOLIO_MEMBERS_ANY_PERM)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue