From 0c9c948642f23612b9f1a21235a9e2b9c3e503d4 Mon Sep 17 00:00:00 2001 From: Thomas Leese Date: Fri, 6 Oct 2023 08:52:10 +0100 Subject: [PATCH] Fix reference to failed method This has been replaced by `review_failed?`. --- .../assessment_recommendation_award_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/assessor_interface/assessment_recommendation_award_controller.rb b/app/controllers/assessor_interface/assessment_recommendation_award_controller.rb index 81d93ddf01..81a75e49dd 100644 --- a/app/controllers/assessor_interface/assessment_recommendation_award_controller.rb +++ b/app/controllers/assessor_interface/assessment_recommendation_award_controller.rb @@ -137,7 +137,7 @@ def load_assessment_and_application_form def load_important_notes @important_notes = [ - (:invalid_references if assessment.reference_requests.any?(&:failed)), + (:invalid_references if assessment.reference_requests.any?(&:review_failed?)), (:induction_required if assessment.induction_required), ].compact end