diff --git a/lib/generators/blacklight_gallery/install_generator.rb b/lib/generators/blacklight_gallery/install_generator.rb index 086424a..4b4a003 100644 --- a/lib/generators/blacklight_gallery/install_generator.rb +++ b/lib/generators/blacklight_gallery/install_generator.rb @@ -29,7 +29,7 @@ def add_openseadragon def assets copy_file "blacklight_gallery.css.scss", "app/assets/stylesheets/blacklight_gallery.css.scss" - append_to_file 'app/assets/config/manifest.js', "\n//= link blacklight_gallery/manifest.js" + append_to_file 'app/assets/config/manifest.js', "\n//= link blacklight_gallery/manifest.js\n" copy_file "blacklight_gallery.js", "app/assets/javascripts/blacklight_gallery.js" insert_into_file "app/assets/javascripts/application.js", after: '//= require blacklight/blacklight' do