From 3c38f81b8a145778d4329c6be4c91baa00ca0d48 Mon Sep 17 00:00:00 2001 From: pdp8 Date: Fri, 21 Jul 2023 16:28:24 +0200 Subject: thread rendering --- views/collection.erb | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'views/collection.erb') diff --git a/views/collection.erb b/views/collection.erb index 9640b7c..c169e0b 100644 --- a/views/collection.erb +++ b/views/collection.erb @@ -4,9 +4,9 @@ -

<%= @dir %> - <% dirs = ['inbox','outbox','shared'] - dirs.delete(@dir) +

<%= @box %> + <% dirs = ['inbox','outbox'] + dirs.delete(@box) dirs.each do |d| %>
@@ -18,10 +18,10 @@ @object = object %> <%= erb :object %> <% end %> - <% unless @dir == 'shared' %> + <% unless @box == 'shared' %> - - + +
<% end %> -- cgit v1.2.3