Skip to content

Commit

Permalink
Route to the correct render template when using tabids (kmille#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
smoogan authored Mar 5, 2024
1 parent 091ba5d commit dad0229
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion freetar/backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def show_tab(artist: str, song: str):
@app.route("/tab/<tabid>")
def show_tab2(tabid: int):
tab = ug_tab(tabid)
return render_template("index.html",
return render_template("tab.html",
tab=tab,
title=f"{tab.artist_name} - {tab.song_name}")

Expand Down

0 comments on commit dad0229

Please sign in to comment.