diff --git a/app/controllers/officing/base_controller.rb b/app/controllers/officing/base_controller.rb index e73f2b696..96f185d24 100644 --- a/app/controllers/officing/base_controller.rb +++ b/app/controllers/officing/base_controller.rb @@ -20,10 +20,7 @@ class Officing::BaseController < ApplicationController end def load_officer_assignment - @officer_assignments ||= current_user.poll_officer. - officer_assignments. - voting_days. - where(date: Time.current.to_date) + @officer_assignments ||= current_user.poll_officer.officer_assignments.where(date: Time.current.to_date) end def verify_officer_assignment