Skip to content

Commit

Permalink
Merge pull request #414 from trln/rails-7-deprecation-proxy
Browse files Browse the repository at this point in the history
Fix deprecation issue with deprecation proxy needing a deprecator object passed in
  • Loading branch information
kazymovae authored Feb 16, 2024
2 parents 21678d8 + 76f9f3f commit fee295b
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 fee295b

Please sign in to comment.