Fixed issue with poll vote counts not showing

• Fixed:
- issue with poll vote counts not showing by not including !hide_totals? in poll.rb
This commit is contained in:
mgabdev
2020-12-22 23:46:43 -05:00
parent 4f5d0f1b96
commit 0a4c31d39e
3 changed files with 6 additions and 8 deletions

View File

@@ -91,6 +91,6 @@ class Poll < ApplicationRecord
end
def show_totals_now?
expired?
expired? || !hide_totals?
end
end