Skip to content

Commit

Permalink
Use public_send
Browse files Browse the repository at this point in the history
  • Loading branch information
kenfodder committed Jul 22, 2024
1 parent 63a4711 commit 70acac2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 70acac2

Please sign in to comment.