app/models/image.rb in wheels-0.1.28 vs app/models/image.rb in wheels-0.1.30
- old
+ new
@@ -2,9 +2,9 @@
belongs_to :gallery
acts_as_taggable
has_attached_file :image,
:storage => :s3,
:s3_credentials => "#{Rails.root}/config/amazon_s3.yml",
- :path => "/images/:user_email/:style/:filename",
+ :path => "/users/:image_owner_id/galleries/:image_gallery_id/:style/:filename",
:styles => {:large=>"700x700>", :medium => "300x300>", :thumb => "100x100>" }
end