diff --git a/hello_app/views.py b/hello_app/views.py index d40756488..688bb0dfc 100644 --- a/hello_app/views.py +++ b/hello_app/views.py @@ -14,8 +14,9 @@ def about(): def contact(): return render_template("contact.html") +@app.route("/hello") @app.route("/hello/") -def hello_there(name): +def hello_there(name = None): return render_template( "hello_there.html", name=name,