Sha256: f3549d592c2643177e3f5bd4ebe123cd5fafd7854507d16d655797088d324ab7

Contents?: true

Size: 593 Bytes

Versions: 4

Compression:

Stored size: 593 Bytes

Contents

module Blacklight::Marc
  class Railtie < Rails::Railtie
    rake_tasks do
      load "railties/solr_marc.rake"
    end

    initializer 'blacklight_marc.initialize' do |app|
      Mime::Type.register_alias "text/plain", :refworks_marc_txt
      Mime::Type.register_alias "text/plain", :openurl_kev
      Mime::Type.register "application/x-endnote-refer", :endnote
      Mime::Type.register "application/marc", :marc
      Mime::Type.register "application/marcxml+xml", :marcxml, 
      ["application/x-marc+xml", "application/x-marcxml+xml", 
       "application/marc+xml"]
     end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
blacklight-marc-5.10.0 lib/blacklight/marc/railtie.rb
blacklight-marc-5.5.0 lib/blacklight/marc/railtie.rb
blacklight-marc-5.4.0 lib/blacklight/marc/railtie.rb
blacklight-marc-5.0.0 lib/blacklight/marc/railtie.rb