diff --git a/app/components/a_level_row_component.html.erb b/app/components/a_level_row_component.html.erb index 6a9c013405..001b6f9857 100644 --- a/app/components/a_level_row_component.html.erb +++ b/app/components/a_level_row_component.html.erb @@ -2,7 +2,7 @@ <% if @course.a_level_requirements.present? %> <% Array(@course.a_level_subject_requirements).map do |a_level_subject_requirement| %>

- <%= a_level_subject_row_content(ActiveSupport::HashWithIndifferentAccess.new(a_level_subject_requirement)) %> + <%= a_level_subject_row_content(a_level_subject_requirement.with_indifferent_access) %>

<% end %>