instance method
public_url
Ruby on Rails 6.1.7.10
Since v6.1.7.10 PrivateSignature
public_url(key, **)
No documentation comment.
Parameters
-
keyreq -
kwargskeyrest
Source
# File activestorage/lib/active_storage/service/s3_service.rb, line 105
def public_url(key, **)
object_for(key).public_url
end
Defined in activestorage/lib/active_storage/service/s3_service.rb line 105
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveStorage::Service::S3Service