From df030f4d2dfbf3708731d5ff53f17d3dac2d9d2e Mon Sep 17 00:00:00 2001 From: jomo Date: Sat, 10 May 2014 02:05:26 +0200 Subject: [PATCH] fix broken sticky/locked class --- app/views/forums/show.html.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/forums/show.html.erb b/app/views/forums/show.html.erb index 75426fe..267f5e5 100644 --- a/app/views/forums/show.html.erb +++ b/app/views/forums/show.html.erb @@ -16,8 +16,8 @@
-
- <%= link_to thread.title, forumthread_path(thread), class: "#{"locked" if thread.locked}#{"sticky" if thread.sticky}" %> +
"> + <%= link_to thread.title, forumthread_path(thread) %>
<% if rpl = thread.replies.last %> <%= rpl.author.name %> <%= link_to "replied", forumthread_path(thread) + "#reply-#{rpl.id}" %> .