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