Skip to content

Commit

Permalink
Fix reference to failed method
Browse files Browse the repository at this point in the history
This has been replaced by `review_failed?`.
  • Loading branch information
thomasleese committed Oct 6, 2023
1 parent 2c4c872 commit b90dad4
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,11 @@ def load_assessment_and_application_form

def load_important_notes
@important_notes = [
(:invalid_references if assessment.reference_requests.any?(&:failed)),
(
if assessment.reference_requests.any?(&:review_failed?)
:invalid_references
end
),
(:induction_required if assessment.induction_required),
].compact
end
Expand Down

0 comments on commit b90dad4

Please sign in to comment.