app/components/blacklight/document/group_component.rb in blacklight-7.22.2 vs app/components/blacklight/document/group_component.rb in blacklight-7.23.0
- old
+ new
@@ -11,15 +11,15 @@
@group = group
@group_limit = group_limit
end
def grouped_documents
- @view_context.render_document_index @group.docs
+ helpers.render_document_index @group.docs
end
def add_group_facet_params_and_redirect(group)
Deprecation.silence(Blacklight::UrlHelperBehavior) do
- @view_context.search_action_path(@view_context.add_group_facet_params_and_redirect(group))
+ helpers.search_action_path(helpers.add_group_facet_params_and_redirect(group))
end
end
end
end
end