Fix happy-hour url mapping

This commit is contained in:
Michael Götz 2018-01-08 18:57:32 +01:00
parent 6d1da0b427
commit 0610bae18e

View File

@ -28,5 +28,5 @@ urlpatterns = [
api_views.FoodViewSetV1_1.as_view({'get': 'list'})),
url(r'food/today/$', api_views.FoodViewSetV1_1.as_view({'get': 'list'})),
url(r'food/week/$', api_views.FoodViewSetV1_1.as_view({'get': 'list'})),
url(r'happy-hour', api_views.FoodViewSetV1_1.as_view({'get': 'list'})),
url(r'happy-hour', api_views.HappyHourViewSet.as_view({'get': 'list'})),
]