mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-11 09:28:27 -04:00
Redirect old URL
This commit is contained in:
@@ -321,6 +321,11 @@ def get_started():
|
||||
)
|
||||
|
||||
|
||||
@main.route('/using-notify/who-its-for')
|
||||
def who_its_for():
|
||||
return redirect(url_for('.who_can_use_notify'), 301)
|
||||
|
||||
|
||||
@main.route('/using-notify/who-can-use-notify')
|
||||
def who_can_use_notify():
|
||||
return render_template(
|
||||
|
||||
@@ -351,6 +351,7 @@ class HeaderNavigation(Navigation):
|
||||
'view_template_versions',
|
||||
'whitelist',
|
||||
'who_can_use_notify',
|
||||
'who_its_for',
|
||||
}
|
||||
|
||||
# header HTML now comes from GOVUK Frontend so requires a boolean, not an attribute
|
||||
@@ -669,6 +670,7 @@ class MainNavigation(Navigation):
|
||||
'view_providers',
|
||||
'no_cookie.view_template_version_preview',
|
||||
'who_can_use_notify',
|
||||
'who_its_for',
|
||||
}
|
||||
|
||||
|
||||
@@ -978,6 +980,7 @@ class CaseworkNavigation(Navigation):
|
||||
'view_template_versions',
|
||||
'whitelist',
|
||||
'who_can_use_notify',
|
||||
'who_its_for',
|
||||
}
|
||||
|
||||
|
||||
@@ -1288,4 +1291,5 @@ class OrgNavigation(Navigation):
|
||||
'view_template_versions',
|
||||
'whitelist',
|
||||
'who_can_use_notify',
|
||||
'who_its_for',
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user