From 7ead5c497dd8e90a714af744bd4639d61e40c181 Mon Sep 17 00:00:00 2001 From: dnoneill Date: Thu, 11 Apr 2024 12:40:40 -0400 Subject: [PATCH] patch for spotlight. Add newline to blacklight-gallery addition to config/manifest.js --- lib/generators/blacklight_gallery/install_generator.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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