lib/attached/attachment.rb in attached-0.5.9 vs lib/attached/attachment.rb in attached-0.6.0
- old
+ new
@@ -45,9 +45,10 @@
:path => ":name/:style/:identifier:extension",
:missing => ":name/:style/missing:extension",
:default => :original,
:medium => :local,
:credentials => {},
+ :metadata => { 'Cache-Control' => 'max-age=3153600' }
}
end
# Initialize a new attachment by providing a name and the instance the attachment is associated with.
\ No newline at end of file