Sha256: ccc58f045da743549147e14f4c2cdbf427e7635b998fb98c2ff809edc8b915ca

Contents?: true

Size: 591 Bytes

Versions: 5

Compression:

Stored size: 591 Bytes

Contents

module BlacklightMarc
  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

5 entries across 5 versions & 1 rubygems

Version Path
blacklight_marc-0.0.9 lib/blacklight_marc/railtie.rb
blacklight_marc-0.0.8 lib/blacklight_marc/railtie.rb
blacklight_marc-0.0.7 lib/blacklight_marc/railtie.rb
blacklight_marc-0.0.6 lib/blacklight_marc/railtie.rb
blacklight_marc-0.0.5 lib/blacklight_marc/railtie.rb