We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 41557f7 commit 89a538dCopy full SHA for 89a538d
lib/generators/blacklight_gallery/install_generator.rb
@@ -29,6 +29,9 @@ def add_openseadragon
29
30
def assets
31
copy_file "blacklight_gallery.css.scss", "app/assets/stylesheets/blacklight_gallery.css.scss"
32
+
33
+ return unless defined?(Sprockets)
34
35
append_to_file 'app/assets/config/manifest.js', "\n//= link blacklight_gallery/manifest.js\n"
36
copy_file "blacklight_gallery.js", "app/assets/javascripts/blacklight_gallery.js"
37
0 commit comments