This commit is contained in:
albert
2013-02-28 17:37:23 -08:00
parent 833f6736ed
commit 85ab986a01
2 changed files with 2 additions and 2 deletions

View File

@@ -4,7 +4,7 @@
<% end %>
<div class="row notices">
<% if post.comments.hidden(CurrentUser.user).count > 0 || post.comments.count > 6 %>
<% if post.comments.hidden(CurrentUser.user).count > 0 || (params[:controller] == "comments" && post.comments.count > 6) %>
<span class="info" id="threshold-comments-notice-for-<%= post.id %>"%>
<%= link_to "Show all comments", comments_path(:post_id => post.id, :include_below_threshold => true), :remote => true %>
</span>

View File

@@ -1,6 +1,6 @@
set :output, "/var/log/whenever.log"
every 1.day do
every 1.hour do
runner "TagSubscription.process_all"
end