From 7e80e501fb05021d4f4b6793462c488445cb4d89 Mon Sep 17 00:00:00 2001 From: Michael Wood Date: Fri, 9 Dec 2016 16:52:45 +0000 Subject: bitbake: toaster: api Add layer Add api Add layer adding REST api and remove old views method. (Bitbake rev: 0c8e41d2217fd568a84e857d1be230fcfd4bb5c7) Signed-off-by: Michael Wood Signed-off-by: Richard Purdie --- bitbake/lib/toaster/toastergui/urls.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'bitbake/lib/toaster/toastergui/urls.py') diff --git a/bitbake/lib/toaster/toastergui/urls.py b/bitbake/lib/toaster/toastergui/urls.py index ece9ac1696..29f0d96ba7 100644 --- a/bitbake/lib/toaster/toastergui/urls.py +++ b/bitbake/lib/toaster/toastergui/urls.py @@ -190,12 +190,14 @@ urlpatterns = patterns('toastergui.views', url(r'^xhr_configvaredit/(?P\d+)$', 'xhr_configvaredit', name='xhr_configvaredit'), - url(r'^xhr_importlayer/$', 'xhr_importlayer', name='xhr_importlayer'), - url(r'^xhr_layer/(?P\d+)/(?P\d+)$', api.XhrLayer.as_view(), name='xhr_layer'), + url(r'^xhr_layer/(?P\d+)$', + api.XhrLayer.as_view(), + name='xhr_layer'), + # JS Unit tests url(r'^js-unit-tests/$', 'jsunittests', name='js-unit-tests'), -- cgit v1.2.3-54-g00ecf