reverts - stats with delayed jobs

This commit is contained in:
rgarcia
2015-09-09 19:17:13 +02:00
parent bab31b0559
commit 6a09e6548d
9 changed files with 9 additions and 97 deletions

View File

@@ -13,7 +13,6 @@ class DebatesController < ApplicationController
@debates = @debates.page(params[:page]).for_render.send("sort_by_#{@order}")
@tag_cloud = Debate.tag_counts.order(taggings_count: :desc, name: :asc).limit(20)
set_debate_votes(@debates)
ahoy.track_visit
end
def show
@@ -24,7 +23,6 @@ class DebatesController < ApplicationController
@all_visible_comments = @root_comments + @comments
set_comment_flags(@all_visible_comments)
ahoy.track_visit
end
def new