lib/generators/spotlight/install_generator.rb in blacklight-spotlight-3.0.0.alpha.2 vs lib/generators/spotlight/install_generator.rb in blacklight-spotlight-3.0.0.alpha.3

- old
+ new

@@ -4,10 +4,10 @@ module Spotlight ## # spotlight:install generator class Install < Rails::Generators::Base - source_root File.expand_path('../templates', __FILE__) + source_root File.expand_path('templates', __dir__) class_option :solr_update_class, type: :string, default: 'Spotlight::SolrDocument::AtomicUpdates' class_option :mailer_default_url_host, type: :string, default: '' # e.g. localhost:3000 def inject_spotlight_routes route "mount Spotlight::Engine, at: 'spotlight'"