diff --git a/flaskr/flaskr.py b/flaskr/flaskr.py index 9deb4f7..87c5725 100644 --- a/flaskr/flaskr.py +++ b/flaskr/flaskr.py @@ -91,6 +91,12 @@ def login(): return render_template('login.html', error=error) +@app.route('/test') +def test(): + """Simple test route that returns 'test test'.""" + return 'test test' + + @app.route('/logout') def logout(): session.pop('logged_in', None) diff --git a/flaskr/templates/layout.html b/flaskr/templates/layout.html index 671bb98..b443eac 100644 --- a/flaskr/templates/layout.html +++ b/flaskr/templates/layout.html @@ -2,7 +2,7 @@