module
Importance_1
v7.0.0 - Show latest stable - 0 notes

Sets the ActiveStorage::Current.url_options attribute, which the disk service uses to generate URLs. Include this concern in custom controllers that call ActiveStorage::Blob#url, ActiveStorage::Variant#url, or ActiveStorage::Preview#url so the disk service can generate URLs using the same host, protocol, and port as the current request.

Show files where this module is defined (1 file)
Register or log in to add new notes.