We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a097a21 commit 6153f31Copy full SHA for 6153f31
Lesson-3/04_Routing/project.py
@@ -13,7 +13,7 @@
13
14
@app.route('/')
15
@app.route('/restaurants/<int:restaurant_id>/')
16
-def showMenu(restaurant_id):
+def restaurantMenu(restaurant_id):
17
restaurant = session.query(Restaurant).filter_by(id = restaurant_id).one()
18
items = session.query(MenuItem).filter_by(restaurant_id = restaurant.id)
19
output = ''
0 commit comments