Skip to content

Commit

Permalink
Merge pull request #57 from ECE444-2020Fall/fix-bad-href
Browse files Browse the repository at this point in the history
Fix bad href on recipe results
  • Loading branch information
ll-O-ll authored Nov 19, 2020
2 parents b796885 + 8635307 commit 3d18652
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apprentice/app/templates/search_result.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class=results-container onclick="location.href='recipe/{{recipe.meta.id}}';" onmouseover="style='cursor: pointer;'">
<div class=results-container onclick="location.href='/recipe/{{recipe.meta.id}}';" onmouseover="style='cursor: pointer;'">

<div class=recipe-name>
<a href="{{ url_for('main.recipe', recipe_id=recipe.meta.id) }}">
Expand Down

0 comments on commit 3d18652

Please sign in to comment.