Sha256: 25b64f2c8a6000e4bc7233f64a48518c8a8a364842819a26ab183196b58740af
Contents?: true
Size: 495 Bytes
Versions: 9
Compression:
Stored size: 495 Bytes
Contents
module Enjoy module Admin module EmbeddedGalleryImage def self.config(fields = {}) jcrop_proc = Proc.new do jcrop_options :image_jcrop_options end fields.reverse_merge!({image: [:jcrop, jcrop_proc]}) if block_given? Enjoy::Admin::EmbeddedElement.config(nil, fields) do |config| yield config end else Enjoy::Admin::EmbeddedElement.config(nil, fields) end end end end end
Version data entries
9 entries across 9 versions & 1 rubygems