We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e960b3a commit 1229d0bCopy full SHA for 1229d0b
config/initializers/paperclip.rb
@@ -113,7 +113,7 @@ def copy_to_local_file(style, local_dest_path)
113
module Paperclip
114
module Storage
115
module S3SignedExtensions
116
- def url(style_name = default_style)
+ def url(style_name = default_style, options = {})
117
if path(style_name)
118
base_options = { expires_in: 1.week.to_i, time: Date.current.beginning_of_week.to_time }
119
s3_url = ENV['S3_BUCKET'] + '.s3.' + ENV['S3_REGION'] + '.amazonaws.com'
0 commit comments