Skip to content

Commit

Permalink
Fix deprecation issue with deprecation proxy needing a deprecator obj…
Browse files Browse the repository at this point in the history
…ect passed in.
  • Loading branch information
lfarrell authored and seanaery committed Feb 20, 2024
1 parent ce0fc60 commit c4d9e02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/trln_argon/controller_override/solr_caching.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def cached_catalog_index
@document_list = ActiveSupport::Deprecation::DeprecatedObjectProxy.new(
deprecated_document_list,
'The @document_list instance variable is deprecated; '\
' use @response.documents instead.')
' use @response.documents instead.', ActiveSupport::Deprecation.new)

respond_to do |format|
format.html { store_preferred_view }
Expand Down

0 comments on commit c4d9e02

Please sign in to comment.