class
ActiveStorage::Blobs::ProxyController
v8.1.1 -
Show latest stable
- Superclass: ActiveStorage::BaseController
Proxy files through application. This avoids having a redirect and makes files easier to cache.
WARNING: All Active Storage controllers are publicly accessible by default. The generated URLs are hard to guess, but permanent by design. If your files require a higher level of protection consider implementing Authenticated Controllers.
Included modules
- ActiveStorage::DisableSession
- ActiveStorage::SetBlob
- ActiveStorage::Streaming
Files
- activestorage/app/controllers/active_storage/blobs/proxy_controller.rb