From 8b868aa27dce962a14780ae8def0800899a33c97 Mon Sep 17 00:00:00 2001 From: drusepth Date: Fri, 1 Oct 2021 00:07:10 -0700 Subject: [PATCH] infer class from list objects --- app/views/content/list/_list.html.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/content/list/_list.html.erb b/app/views/content/list/_list.html.erb index 19d58121..27447b8f 100644 --- a/app/views/content/list/_list.html.erb +++ b/app/views/content/list/_list.html.erb @@ -58,10 +58,10 @@ <% content.page_tags.each do |tag| %> <% if user_signed_in? && content.user == current_user %> <%= link_to params.permit(:tag).merge({ tag: PageTagService.slug_for(tag.tag) }) do %> - + <% end %> <% else %> - + <% end %> <% end %> <% end %>