lib/carrierwave/compatibility/paperclip.rb in carrierwave-0.4.5 vs lib/carrierwave/compatibility/paperclip.rb in carrierwave-0.4.6

- old
+ new

@@ -70,11 +70,11 @@ private def interpolate_paperclip_path(path, filename) mappings.inject(path) do |agg, pair| - agg.gsub(":#{pair[0]}", pair[1].call(self, filename).to_s) + agg.gsub(":#{pair[0]}") { pair[1].call(self, filename).to_s } end end def mappings { @@ -90,6 +90,6 @@ } end end # Paperclip end # Compatibility -end # CarrierWave \ No newline at end of file +end # CarrierWave