Module: Blacklight::Marc::Catalog
- Extended by:
- ActiveSupport::Concern
- Defined in:
- lib/blacklight/marc/catalog.rb
Instance Method Summary collapse
Instance Method Details
#librarian_view ⇒ Object
11 12 13 14 15 16 17 18 19 20 |
# File 'lib/blacklight/marc/catalog.rb', line 11 def librarian_view @response, deprecated_document = search_service.fetch params[:id] @document = ActiveSupport::Deprecation::DeprecatedObjectProxy.new(deprecated_document, "The @document instance variable is deprecated and will be removed in Blacklight-marc 8.0") respond_to do |format| format.html do return render layout: false if request.xhr? # Otherwise draw the full page end end end |