mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-21 14:59:47 -04:00
remove old feedback urls
not been hit in the last couple of weeks
This commit is contained in:
@@ -33,11 +33,6 @@ def get_prefilled_message():
|
||||
)
|
||||
|
||||
|
||||
@main.route('/feedback', methods=['GET'])
|
||||
def old_feedback():
|
||||
return redirect(url_for('.support'))
|
||||
|
||||
|
||||
@main.route('/support', methods=['GET', 'POST'])
|
||||
def support():
|
||||
form = SupportType()
|
||||
@@ -64,21 +59,6 @@ def triage():
|
||||
)
|
||||
|
||||
|
||||
@main.route('/support/submit/<ticket_type>')
|
||||
def old_submit_feedback(ticket_type):
|
||||
try:
|
||||
ticket_type = {
|
||||
'problem': PROBLEM_TICKET_TYPE,
|
||||
'question': QUESTION_TICKET_TYPE,
|
||||
}[ticket_type]
|
||||
return redirect(url_for(
|
||||
'.feedback',
|
||||
ticket_type=ticket_type,
|
||||
), 301)
|
||||
except KeyError:
|
||||
abort(404)
|
||||
|
||||
|
||||
@main.route('/support/<ticket_type>', methods=['GET', 'POST'])
|
||||
def feedback(ticket_type):
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user