aboutsummaryrefslogtreecommitdiffstats
path: root/src/api/urls.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/api/urls.py')
-rw-r--r--src/api/urls.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/api/urls.py b/src/api/urls.py
index 1878d9c..52a6fc7 100644
--- a/src/api/urls.py
+++ b/src/api/urls.py
@@ -52,7 +52,8 @@ from api.views import (
images_for_template,
specific_booking,
extend_booking,
- all_users
+ all_users,
+ list_labs
)
urlpatterns = [
@@ -82,7 +83,7 @@ urlpatterns = [
path('resource_inventory/<int:template_id>/images', images_for_template),
path('users', all_users),
- path('labs', all_labs),
+ path('labs', list_labs),
url(r'^token$', GenerateTokenView.as_view(), name='generate_token'),
]