Skip to content

Commit 95fa2dd

Browse files
committed
Update function names to match video tutorial steps
1 parent 175d21d commit 95fa2dd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Lesson-3/18_Styling/templates/deletemenuitem.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ <h1> Are you sure you want to delete {{item.name}}? </h1>
1414

1515
</form>
1616

17-
<a href = '{{url_for('showMenu', restaurant_id = restaurant_id)}}'> Cancel </a>
17+
<a href = '{{url_for('restaurantMenu', restaurant_id = restaurant_id)}}'> Cancel </a>
1818
</body>
1919

2020
</html>

Lesson-3/18_Styling/templates/editmenuitem.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ <h1> Edit Menu Item </h1>
5454

5555
<input type='submit' value='Edit'>
5656

57-
<a href = '{{url_for('showRestaurants', restaurant_id = restaurant_id)}}'> Cancel </a>
57+
<a href = '{{url_for('restaurantMenu', restaurant_id = restaurant_id)}}'> Cancel </a>
5858
</form>
5959
</body>
6060
</html>

0 commit comments

Comments
 (0)