Added results_enabled and stats_enabled to Poll admin form

This commit is contained in:
María Checa
2017-10-20 18:45:34 +02:00
parent 9fc35e9087
commit 62b1998ec6
3 changed files with 21 additions and 3 deletions

View File

@@ -90,4 +90,12 @@ class Poll < ActiveRecord::Base
end
end
def results_enabled?
results_enabled
end
def stats_enabled?
stats_enabled
end
end