deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mfoj...@redhat.com
Subject [PATCH core 2/2] Added actions for buckets
Date Mon, 11 Oct 2010 14:38:23 GMT
From: Michal Fojtik <mfojtik@redhat.com>

---
 server/views/buckets/show.xml.haml |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/server/views/buckets/show.xml.haml b/server/views/buckets/show.xml.haml
index 9b650e2..579f6b4 100644
--- a/server/views/buckets/show.xml.haml
+++ b/server/views/buckets/show.xml.haml
@@ -5,4 +5,6 @@
       -haml_tag(attribute, :<) do
         - haml_concat @bucket.send(attribute)
   - @bucket.blob_list.each do |blb|
-    %blob{:id => blb, :href => bucket_url(@bucket.id) +"/#{blb}"}
\ No newline at end of file
+    %blob{:id => blb, :href => bucket_url(@bucket.id) +"/#{blb}"}
+  %actions
+    %link{:rel => 'destroy', :method => :delete, :href => destroy_bucket_url(@bucket.id)}
-- 
1.7.2.3


Mime
View raw message