remove wrongly copied code from routing api

This commit is contained in:
Laura Klünder 2017-11-27 16:43:12 +01:00
parent b88cc9d942
commit e00400a66f

View file

@ -7,16 +7,6 @@ from c3nav.routing.router import Router
class RoutingViewSet(ViewSet):
"""
Routing API
/geometries/ returns a list of geojson features, you have to specify ?level=<id> or ?space=<id>
/geometrystyles/ returns styling information for all geometry types
/bounds/ returns the maximum bounds of the map
"""
def list(self, request):
return []
@list_route(methods=['get'])
def route(self, request, *args, **kwargs):
params = request.POST if request.method == 'POST' else request.GET