summaryrefslogtreecommitdiffstats
path: root/lib/toaster/toastergui/urls.py
diff options
context:
space:
mode:
authorMichael Wood <michael.g.wood@intel.com>2016-07-06 18:22:38 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-07-08 09:57:06 +0100
commit91815229f60eb9deba7d299f05c69b52ff1df59c (patch)
tree6a13fdf16a93e0ce5fa1f565af699d74cc4d1d1a /lib/toaster/toastergui/urls.py
parentaa0845242eda8650a97180bf6675551c26554cde (diff)
downloadbitbake-91815229f60eb9deba7d299f05c69b52ff1df59c.tar.gz
toaster: add Layer delete front end feature to layerdetails
Add the front end feature to delete a layer from the layer details page. [YOCO #9184] Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Elliot Smith <elliot.smith@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/toaster/toastergui/urls.py')
-rw-r--r--lib/toaster/toastergui/urls.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/toaster/toastergui/urls.py b/lib/toaster/toastergui/urls.py
index 15b1063c5..1c0ccbb2e 100644
--- a/lib/toaster/toastergui/urls.py
+++ b/lib/toaster/toastergui/urls.py
@@ -191,7 +191,7 @@ urlpatterns = patterns('toastergui.views',
url(r'^xhr_importlayer/$', 'xhr_importlayer', name='xhr_importlayer'),
- url(r'^xhr_layer/(?P<layerversion_id>\d+)$',
+ url(r'^xhr_layer/(?P<pid>\d+)/(?P<layerversion_id>\d+)$',
api.XhrLayer.as_view(),
name='xhr_layer'),