app/views/commontator/shared/_thread.html.erb in commontator-4.0.1 vs app/views/commontator/shared/_thread.html.erb in commontator-4.0.2

- old
+ new

@@ -11,10 +11,10 @@ <div id="thread_<%= thread.id %>_div" class="thread" style="display: none;"> <% if @commontator_thread_show %> <%= render :partial => 'commontator/threads/show', :locals => {:thread => thread, :user => user} %> <% else %> - <%= link_to "Show #{thread.config.comment_name.pluralize} (#{subscription ? subscription.unread + '/' + thread.comments.count : thread.comments.count})", \ + <%= link_to "Show #{thread.config.comment_name.pluralize} (#{subscription ? (subscription.unread.to_s + '/' + thread.comments.count.to_s) : thread.comments.count.to_s})", \ commontator.thread_path(thread), :remote => true %> <% end %> </div> <% end %>