mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-07 16:08:24 -04:00
Fix code style. Remove duplicate endpoints
This commit is contained in:
@@ -1,6 +1,4 @@
|
|||||||
from flask import render_template
|
from flask import render_template
|
||||||
from flask_login import login_required
|
|
||||||
|
|
||||||
from app.main import main
|
from app.main import main
|
||||||
|
|
||||||
|
|
||||||
@@ -34,31 +32,6 @@ def checkemail():
|
|||||||
return render_template('views/check-email.html')
|
return render_template('views/check-email.html')
|
||||||
|
|
||||||
|
|
||||||
@main.route("/forgot-password")
|
|
||||||
def forgotpassword():
|
|
||||||
return render_template('views/forgot-password.html')
|
|
||||||
|
|
||||||
|
|
||||||
@main.route("/jobs")
|
|
||||||
def showjobs():
|
|
||||||
return render_template('views/jobs.html')
|
|
||||||
|
|
||||||
|
|
||||||
@main.route("/jobs/job")
|
|
||||||
def showjob():
|
|
||||||
return render_template('views/job.html')
|
|
||||||
|
|
||||||
|
|
||||||
@main.route("/jobs/job/notification")
|
|
||||||
def shownotification():
|
|
||||||
return render_template('views/notification.html')
|
|
||||||
|
|
||||||
|
|
||||||
@main.route("/new-password")
|
|
||||||
def newpassword():
|
|
||||||
return render_template('views/new-password.html')
|
|
||||||
|
|
||||||
|
|
||||||
@main.route("/user-profile")
|
@main.route("/user-profile")
|
||||||
def userprofile():
|
def userprofile():
|
||||||
return render_template('views/user-profile.html')
|
return render_template('views/user-profile.html')
|
||||||
@@ -74,10 +47,6 @@ def apikeys():
|
|||||||
return render_template('views/api-keys.html')
|
return render_template('views/api-keys.html')
|
||||||
|
|
||||||
|
|
||||||
@main.route("/verification-not-received")
|
|
||||||
def verificationnotreceived():
|
|
||||||
return render_template('views/verification-not-received.html')
|
|
||||||
|
|
||||||
@main.route("/manage-templates")
|
@main.route("/manage-templates")
|
||||||
def managetemplates():
|
def managetemplates():
|
||||||
return render_template('views/manage-templates.html')
|
return render_template('views/manage-templates.html')
|
||||||
|
|||||||
Reference in New Issue
Block a user