From 70acac28d900dc16baabaf544facdd29e5671696 Mon Sep 17 00:00:00 2001 From: Kenneth Lee Date: Thu, 18 Jul 2024 18:27:01 +0100 Subject: [PATCH] Use public_send --- .../hours_teaching_eligible_subjects_form.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/forms/journeys/further_education_payments/hours_teaching_eligible_subjects_form.rb b/app/forms/journeys/further_education_payments/hours_teaching_eligible_subjects_form.rb index 15090e3774..f181117f74 100644 --- a/app/forms/journeys/further_education_payments/hours_teaching_eligible_subjects_form.rb +++ b/app/forms/journeys/further_education_payments/hours_teaching_eligible_subjects_form.rb @@ -34,7 +34,7 @@ def save private def course_descriptions(course_field) - journey_session.answers.send(course_field).map { |course| + journey_session.answers.public_send(course_field).map { |course| course_option_description(course, i18n_form_namespace: course_field).html_safe } end