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:
parent
31d810b65d
commit
e1f39bb852
2 changed files with 2 additions and 2 deletions
|
|
@ -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')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue