Repository URL to install this package:
|
Version:
0.5.5 ▾
|
module Blocks
class Gallery < Block
content_fields :style
if respond_to?(:montage)
montage :gallery
delegate :images, to: :gallery
def self.params
[gallery_ids: []].concat(super)
end
end
if respond_to?(:has_scrapbook)
has_scrapbook :gallery_items
def self.params
[gallery_item_ids: []].concat(super)
end
end
end
end