app/views/attachments/index.txt.erb in rumm-0.0.22 vs app/views/attachments/index.txt.erb in rumm-0.0.23
- old
+ new
@@ -1,4 +1,12 @@
+<% if this.empty? %>
+you don't have any attachments to this server, but you can create one by running:
+ rumm create attachment on server <server_name>
+<% else %>
+server id: <%= this.first.server_id %>
+Attachments:
<% this.each do |attachment| %>
-id: <%= attachment.volume_id %>
-<% end %>
+ device: <%= attachment.device %>
+ volume id: <%= attachment.volume_id %>
+<% end %>
+<% end %>