Skip to content

Conversation

@zhanwenchen
Copy link

@zhanwenchen zhanwenchen commented Feb 2, 2017

Otherwise an AssertionError is raised: "View function mapping is overwriting an existing endpoint function: restaurantMenu" in line 32.

Actually, it doesn't make sense for that entire block to exist. "/" should do nothing and "restaurantMenu" is a duplicate method that takes a parameter "restaurant_id" which doesn't exist in the "/" routing.

Otherwise an AssertionError is raised: "View function mapping is overwriting an existing endpoint function: restaurantMenu" in line 32.
It doesn't make sense for that entire block to exist. "/" should do nothing and "restaurantMenu" is a duplicate method that takes a parameter "restaurant_id" which doesn't exist in the "/" routing.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant