From 086709cae3da7a01a011fe906004c8685fdd2ed0 Mon Sep 17 00:00:00 2001 From: pdp8 Date: Sat, 1 Jul 2023 01:54:02 +0200 Subject: direct collection access from client --- views/collection.erb | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'views') diff --git a/views/collection.erb b/views/collection.erb index 4455b31..8dd3878 100644 --- a/views/collection.erb +++ b/views/collection.erb @@ -5,9 +5,13 @@

<%= @dir %> -
- -
+ <% dirs = ['inbox','outbox','archive'] + dirs.delete(@dir) + dirs.each do |d| %> +
+ +
+ <% end %>

<% @threads.each do |object| @object = object %> -- cgit v1.2.3