Skip to content

Commit

Permalink
292 | Remove eager loading of evaluators
Browse files Browse the repository at this point in the history
  • Loading branch information
emmabjj committed Dec 27, 2024
1 parent 304ad2d commit 38f5591
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/phases_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def set_phase
def include_evaluator_associations
return unless @submissions.any? && evaluator_assignments?

@submissions = @submissions.includes(:evaluators, evaluator_submission_assignments: :evaluator)
@submissions = @submissions.includes(evaluator_submission_assignments: :evaluator)
end

def evaluator_assignments?
Expand Down

0 comments on commit 38f5591

Please sign in to comment.