lib/blacklight_marc.rb in blacklight_marc-0.0.2 vs lib/blacklight_marc.rb in blacklight_marc-0.0.3
- old
+ new
@@ -3,7 +3,12 @@
module BlacklightMarc
class Railtie < Rails::Railtie
rake_tasks do
load "railties/solr_marc.rake"
end
+
+ initializer "blacklight MARC" do
+ Blacklight::Solr::Document.autoload :Marc, 'blacklight/solr/document/marc'
+ Blacklight::Solr::Document.autoload :MarcExport, 'blacklight/solr/document/marc_export'
+ end
end
end