mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-19 05:59:44 -04:00
Remove template type parameter on redirect
This is a hangover from when we had separate email/SMS template pages. If the view doesn’t use a parameter Flask adds it to the querystring. So we were getting URLs that ended in `?template_type=sms`, to no effect.
This commit is contained in:
@@ -347,7 +347,6 @@ def delete_service_template(service_id, template_id):
|
||||
return redirect(url_for(
|
||||
'.choose_template',
|
||||
service_id=service_id,
|
||||
template_type=template['template_type']
|
||||
))
|
||||
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user