summaryrefslogtreecommitdiffstats
path: root/combo/apps/assets/urls.py
diff options
context:
space:
mode:
Diffstat (limited to 'combo/apps/assets/urls.py')
-rw-r--r--combo/apps/assets/urls.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/combo/apps/assets/urls.py b/combo/apps/assets/urls.py
index 38770b9..ebdb849 100644
--- a/combo/apps/assets/urls.py
+++ b/combo/apps/assets/urls.py
@@ -19,6 +19,7 @@ from django.conf.urls import url, include
from combo.urls_utils import decorated_includes, manager_required
from . import views
+from . import api_views
assets_manager_urls = [
url(r'^$', views.assets, name='combo-manager-assets'),
@@ -35,4 +36,7 @@ urlpatterns = [
url(r'^assets/(?P<key>[\w_:-]+)$', views.serve_asset),
url(r'^manage/assets/', decorated_includes(manager_required,
include(assets_manager_urls))),
+
+ url('^api/assets/set/(?P<key>[\w_:-]+)/$', api_views.view_set,
+ name='api-assets-set'),
]