app/models/refinery/image.rb in refinerycms-images-3.0.6 vs app/models/refinery/image.rb in refinerycms-images-4.0.0
- old
+ new
@@ -2,9 +2,12 @@
module Refinery
class Image < Refinery::Core::BaseModel
translates :image_title, :image_alt
+ attribute :image_title
+ attribute :image_alt
+
dragonfly_accessor :image, :app => :refinery_images
include Images::Validators
validates :image, :presence => true