fixes #657
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
set :output, "/var/log/whenever.log"
|
||||
|
||||
every 1.day do
|
||||
every 1.hour do
|
||||
runner "TagSubscription.process_all"
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user