Merge pull request #2075 from wairbut-m2c/iagirre-poll-stats
Iagirre poll stats
This commit is contained in:
@@ -25,6 +25,8 @@ class PollsController < ApplicationController
|
||||
|
||||
@commentable = @poll
|
||||
@comment_tree = CommentTree.new(@commentable, params[:page], @current_order)
|
||||
|
||||
@stats = Poll::Stats.new(@poll).generate
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user