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/representations/proxy_controller.rb, line 8
def show
http_cache_forever public: true do
set_content_headers_from @representation.image
stream @representation
end
end
Defined in activestorage/app/controllers/active_storage/representations/proxy_controller.rb line 8
· View on GitHub
· Improve this page
· Find usages on GitHub