lib/enjoy/gallery/models/image.rb in enjoy_cms_gallery-0.4.0.1 vs lib/enjoy/gallery/models/image.rb in enjoy_cms_gallery-0.4.0.2

- old
+ new

@@ -11,20 +11,10 @@ included do belongs_to :gallery, class_name: "Enjoy::Gallery::Gallery" acts_as_nested_set - enjoy_cms_attached_file(:image, - styles: lambda { |attachment| attachment.instance.image_styles } - ) - end - - def image_jcrop_options - {} - end - - def image_styles - {} + enjoy_cms_attached_file(:image) end end end end