diff --git a/app/views/list/related_topics.html.erb b/app/views/list/related_topics.html.erb index 21b3e9bd..27703799 100644 --- a/app/views/list/related_topics.html.erb +++ b/app/views/list/related_topics.html.erb @@ -40,7 +40,7 @@ <% end %> - <% if t.pinned_until && (t.pinned_until > Time.zone.now) && (t.pinned_globally || @list.category) && t.excerpt %> + <% if t.pinned_until && (t.pinned_until > Time.zone.now) && (t.pinned_globally || t.category) && t.excerpt %>
<%= t.excerpt.html_safe %>