Sha256: bf9e805c9aaa541e18c03470a7b9d5fd190598ebcfecaa4740e8049a5f46fac6
Contents?: true
Size: 551 Bytes
Versions: 4
Compression:
Stored size: 551 Bytes
Contents
module Enjoy::Gallery module Models module EmbeddedImage if Enjoy::Gallery.mongoid? extend ActiveSupport::Concern include Enjoy::Gallery::Paperclipable include Enjoy::Gallery.orm_specific('EmbeddedImage') included do enjoy_cms_attached_file(:image, styles: lambda { |attachment| attachment.instance.image_styles } ) end def image_jcrop_options {} end def image_styles {} end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems