Method: CarrierWave::Storage::AWSFile#url
- Defined in:
- lib/carrierwave/storage/aws_file.rb
#url(options = {}) ⇒ Object
57 58 59 60 61 62 63 |
# File 'lib/carrierwave/storage/aws_file.rb', line 57 def url( = {}) if uploader.aws_acl != :public_read authenticated_url() else public_url end end |