lib/sga/asset.rb in sga_paperclippolymorph-0.2.6 vs lib/sga/asset.rb in sga_paperclippolymorph-0.2.7

- old
+ new

@@ -12,10 +12,10 @@ :tiny => "64x64>", :small => "176x112>", :medium => "630x630>", :large => "1024x1024>" }, - :path => "/system/:attachment/asset/:id_partition/:style/:filename", + :path => ":rails_root/public/system/:attachment/asset/:id_partition/:style/:filename", :url => "/system/:attachment/asset/:id_partition/:style/:filename" def url(*args) data.url(*args)