Skip to content

Commit

Permalink
Merge pull request #163 from projectblacklight/nil-partials
Browse files Browse the repository at this point in the history
Define view.partials for newer Blacklight versions
  • Loading branch information
corylown authored Dec 10, 2024
2 parents ea36735 + afa0f2f commit 8bb3ec8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/generators/blacklight_gallery/install_generator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ def configuration
"\n config.view.masonry(document_component: Blacklight::Gallery::DocumentComponent, icon: Blacklight::Gallery::Icons::MasonryComponent)" \
"\n config.view.slideshow(document_component: Blacklight::Gallery::SlideshowComponent, icon: Blacklight::Gallery::Icons::SlideshowComponent)" \
"\n config.show.tile_source_field = :content_metadata_image_iiif_info_ssm" \
"\n config.show.partials ||= []" \
"\n config.show.partials.insert(1, :openseadragon)"
end
end
Expand Down

0 comments on commit 8bb3ec8

Please sign in to comment.