From f94966154db18617788c6d737eefb7a2fa97f979 Mon Sep 17 00:00:00 2001 From: Rebecca Law Date: Wed, 6 Jan 2016 10:55:47 +0000 Subject: [PATCH] Fix code style. Remove duplicate endpoints --- app/main/views/index.py | 31 ------------------------------- 1 file changed, 31 deletions(-) diff --git a/app/main/views/index.py b/app/main/views/index.py index 33d8f7e7d..777dfa789 100644 --- a/app/main/views/index.py +++ b/app/main/views/index.py @@ -1,6 +1,4 @@ from flask import render_template -from flask_login import login_required - from app.main import main @@ -34,31 +32,6 @@ def checkemail(): 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") def userprofile(): return render_template('views/user-profile.html') @@ -74,10 +47,6 @@ def apikeys(): 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") def managetemplates(): return render_template('views/manage-templates.html')