app/models/album_photo.rb in ruby_gallery-0.2.7 vs app/models/album_photo.rb in ruby_gallery-0.2.9

- old
+ new

@@ -1,5 +1,5 @@ class AlbumPhoto < ActiveRecord::Base attr_accessible :photo belongs_to :album_photoable, polymorphic: true - has_attached_file :photo, :styles => { :medium => "300x300>", :thumb => "100x100>" } + has_attached_file :photo, :styles => { :medium => "300x300>", :thumb => "100x100>" }, url: "/system/:attachment/:id/:style/:filename" end \ No newline at end of file