method
url
v7.1.3.2 -
Show latest stable
- Class:
ActiveStorage::Variant
url(expires_in: ActiveStorage.service_urls_expire_in, disposition: :inline)public
Returns the URL of the blob variant on the service. See {ActiveStorage::Blob#url} for details.
Use url_for(variant) (or the implied form, like link_to variant or redirect_to variant) to get the stable URL for a variant that points to the ActiveStorage::RepresentationsController, which in turn will use this service_call method for its redirection.