lib/generators/blacklight_gallery/install_generator.rb in blacklight-gallery-2.0.2 vs lib/generators/blacklight_gallery/install_generator.rb in blacklight-gallery-2.1.0
- old
+ new
@@ -11,9 +11,10 @@
end
def configuration
inject_into_file 'app/controllers/catalog_controller.rb', after: "configure_blacklight do |config|" do
"\n config.view.gallery.partials = [:index_header, :index]" \
+ "\n # config.view.gallery.classes = 'row-cols-2 row-cols-md-3'" \
"\n config.view.masonry.partials = [:index]" \
"\n config.view.slideshow.partials = [:index]\n\n" \
"\n config.show.tile_source_field = :content_metadata_image_iiif_info_ssm" \
"\n config.show.partials.insert(1, :openseadragon)"
end