Skip to content

Commit

Permalink
Add / to routes
Browse files Browse the repository at this point in the history
  • Loading branch information
kraigb committed Feb 7, 2019
1 parent 24f2fb9 commit 4fc1bc5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions hello_app/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@
def home():
return render_template("home.html")

@app.route("/about")
@app.route("/about/")
def about():
return render_template("about.html")

@app.route("/contact")
@app.route("/contact/")
def contact():
return render_template("contact.html")

@app.route("/hello")
@app.route("/hello/")
@app.route("/hello/<name>")
def hello_there(name = None):
return render_template(
Expand Down

0 comments on commit 4fc1bc5

Please sign in to comment.