Skip to content

Commit 6153f31

Browse files
committed
Update project.py
1 parent a097a21 commit 6153f31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lesson-3/04_Routing/project.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
@app.route('/')
1515
@app.route('/restaurants/<int:restaurant_id>/')
16-
def showMenu(restaurant_id):
16+
def restaurantMenu(restaurant_id):
1717
restaurant = session.query(Restaurant).filter_by(id = restaurant_id).one()
1818
items = session.query(MenuItem).filter_by(restaurant_id = restaurant.id)
1919
output = ''

0 commit comments

Comments
 (0)