From: Michal Fojtik <[email protected]>
---
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