Sha256: 0ce44d5c1cca3ce66567a0f79ea8504253ca36a2634d6720a7ce4fac5f77a57c

Contents?: true

Size: 460 Bytes

Versions: 1

Compression:

Stored size: 460 Bytes

Contents

module Blacklight::Marc
  module Catalog
    def librarian_view
      @response, @document = fetch params[:id]

      respond_to do |format|
        format.html
        format.js { render :layout => false }
      end
    end

    # grabs a bunch of documents to export to endnote
    def endnote
      @response, @documents = fetch(Array(params[:id]))
      respond_to do |format|
        format.endnote { render :layout => false }
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
blacklight-marc-5.10.0 lib/blacklight/marc/catalog.rb