instance method
show
Ruby on Rails 6.1.7.10
Since v6.1.7.10Signature
show()
No documentation comment.
Source
# File activestorage/app/controllers/active_storage/blobs/proxy_controller.rb, line 9
def show
http_cache_forever public: true do
set_content_headers_from @blob
stream @blob
end
end
Defined in activestorage/app/controllers/active_storage/blobs/proxy_controller.rb line 9
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveStorage::Blobs::ProxyController