From e00400a66f8d2b8d1e1dc132b72c8a56a7bc0eeb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Laura=20Kl=C3=BCnder?= Date: Mon, 27 Nov 2017 16:43:12 +0100 Subject: [PATCH] remove wrongly copied code from routing api --- src/c3nav/routing/api.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/c3nav/routing/api.py b/src/c3nav/routing/api.py index 96ecbe3d..8b777c9c 100644 --- a/src/c3nav/routing/api.py +++ b/src/c3nav/routing/api.py @@ -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= or ?space= - /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