mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-02 07:52:15 +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))
|
||||
|
||||
def get_success_url(self):
|
||||
"""Redirect to the overview page for the portfolio."""
|
||||
return reverse("organization")
|
||||
"""Redirect to the org info page for the portfolio."""
|
||||
return reverse("organization-info")
|
||||
|
||||
|
||||
@grant_access(IS_PORTFOLIO_MEMBER)
|
||||
|
@ -1065,7 +1065,7 @@ class PortfolioSeniorOfficialView(DetailView, FormMixin):
|
|||
|
||||
def get_success_url(self):
|
||||
"""Redirect to the overview page for the portfolio."""
|
||||
return reverse("senior-official")
|
||||
return reverse("organization-senior-official")
|
||||
|
||||
|
||||
@grant_access(HAS_PORTFOLIO_MEMBERS_ANY_PERM)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue