Style guide cleanup

This commit is contained in:
Charlotte Weaver
2018-06-22 17:43:10 -07:00
parent 15ce4cc338
commit ca16447115
8 changed files with 930 additions and 45 deletions
+3 -1
View File
@@ -1,9 +1,10 @@
from flask import (
Blueprint, render_template, request, url_for, current_app
Blueprint, render_template, url_for, current_app
)
bp = Blueprint('webapp', __name__, template_folder='templates')
@bp.route('/')
def index():
url_base = current_app.config["CXG_API_BASE"]
@@ -16,6 +17,7 @@ def index():
def swag():
return render_template("swagger.html")
# renders swagger documentation
@bp.route('/favicon.png')
def favicon():