Skip to content

Commit

Permalink
Bullet failure: Remove unnecessary eager loaded :submissions not used…
Browse files Browse the repository at this point in the history
… in view
  • Loading branch information
emmabjj committed Nov 19, 2024
1 parent 15405e0 commit 7cecef3
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 @@ -5,7 +5,7 @@ class PhasesController < ApplicationController
before_action :set_phase, except: [:index]

def index
@challenges = current_user.challenge_manager_challenges.includes([phases: [:evaluation_form, :submissions]])
@challenges = current_user.challenge_manager_challenges.includes([phases: [:evaluation_form]])
end

def submissions
Expand Down

0 comments on commit 7cecef3

Please sign in to comment.