Skip to content

Commit

Permalink
Fix bug in delete template page
Browse files Browse the repository at this point in the history
  • Loading branch information
John Shea committed Apr 30, 2019
1 parent 04c6814 commit fcde09d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Lesson-3/15_Delete-Menu-Item-Solution/project.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def deleteMenuItem(restaurant_id, menu_id):
session.commit()
return redirect(url_for('restaurantMenu', restaurant_id=restaurant_id))
else:
return render_template('deleteconfirmation.html', item=itemToDelete)
return render_template('deletemenuitem.html', item=itemToDelete)


if __name__ == '__main__':
Expand Down

0 comments on commit fcde09d

Please sign in to comment.