You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: app/controllers/concerns/blacklight/marc/catalog.rb
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -9,13 +9,14 @@ module Catalog
9
9
end
10
10
11
11
deflibrarian_view
12
+
deprecator=ActiveSupport::Deprecation.new
12
13
ifBlacklight::VERSION >= '8'
13
14
@document=search_service.fetch(params[:id])
14
-
@response=ActiveSupport::Deprecation::DeprecatedObjectProxy.new(@document.response,"The @response instance variable is deprecated and will be removed in Blacklight-marc 8.0")
15
+
@response=ActiveSupport::Deprecation::DeprecatedObjectProxy.new(@document.response,"The @response instance variable is deprecated and will be removed in Blacklight-marc 8.0",deprecator)
@response=ActiveSupport::Deprecation::DeprecatedObjectProxy.new(deprecated_response,"The @response instance variable is deprecated and will be removed in Blacklight-marc 8.0")
19
+
@response=ActiveSupport::Deprecation::DeprecatedObjectProxy.new(deprecated_response,"The @response instance variable is deprecated and will be removed in Blacklight-marc 8.0",deprecator)
0 commit comments