lib/generators/spotlight/install_generator.rb in blacklight-spotlight-3.0.0.rc5 vs lib/generators/spotlight/install_generator.rb in blacklight-spotlight-3.0.0.rc6

- old
+ new

@@ -111,13 +111,13 @@ end def add_search_builder_mixin if File.exist? 'app/models/search_builder.rb' inject_into_file 'app/models/search_builder.rb', after: "include Blacklight::Solr::SearchBuilderBehavior\n" do - "\n include Spotlight::AccessControlsEnforcementSearchBuilder\n" + "\n include Spotlight::SearchBuilder\n" end else - say 'Unable to find SearchBuilder class; add `include Spotlight::AccessControlsEnforcementSearchBuilder` to the class manually.' + say 'Unable to find SearchBuilder class; add `include Spotlight::SearchBuilder` to the class manually.' end end def add_example_catalog_controller copy_file 'catalog_controller.rb', 'app/controllers/catalog_controller.rb'