Use automatic template context rather than passing the path through

Saves me having to push a bunch of common stuff through, which just
makes sense
This commit is contained in:
Eli Ribble 2016-06-09 10:18:30 -06:00
parent 31d810b65d
commit e1f39bb852
2 changed files with 2 additions and 2 deletions

View file

@ -4,4 +4,4 @@ blueprint = flask.Blueprint('index', __name__)
@blueprint.route('/', methods=['GET'])
def index():
return flask.render_template('index.html', path='/')
return flask.render_template('index.html')