Repository URL to install this package:
|
Version:
0.5.0 ▾
|
module Blocks
class Panorama < Block
content_fields :style
if respond_to?(:montage)
montage :gallery
def image
gallery.key_image
end
def image_url(style = :original)
image.url(style) if image
end
def self.params
super << { gallery_ids: [] }
end
end
if respond_to?(:has_scrapbook)
has_scrapbook :panorama
def self.params
super << { panorama_id: [] }
end
end
end
end