Add rubocop spacing rules
We were following these rules in most places; we just didn't define them anywhere.
This commit is contained in:
@@ -3,7 +3,7 @@ class Officing::PollsController < Officing::BaseController
|
||||
|
||||
def index
|
||||
@polls = current_user.poll_officer? ? current_user.poll_officer.voting_days_assigned_polls : []
|
||||
@polls = @polls.select {|poll| poll.current?(Time.current) || poll.current?(1.day.ago)}
|
||||
@polls = @polls.select { |poll| poll.current?(Time.current) || poll.current?(1.day.ago) }
|
||||
end
|
||||
|
||||
def final
|
||||
|
||||
Reference in New Issue
Block a user