lib/generators/spotlight/install_generator.rb in blacklight-spotlight-0.0.2 vs lib/generators/spotlight/install_generator.rb in blacklight-spotlight-0.0.3
- old
+ new
@@ -34,10 +34,10 @@
inject_into_class 'app/helpers/application_helper.rb', ApplicationHelper, " include SpotlightHelper"
end
def add_model_mixin
inject_into_file 'app/models/solr_document.rb', after: "include Blacklight::Solr::Document" do
- "\n include Spotlight::SolrDocument\n"
+ "\n include Spotlight::SolrDocument\n include Spotlight::SolrDocument::AtomicUpdates\n"
end
end
end
end