Merge pull request #36710 from ypresto/patch-1
[ActionController] Fix send_file example for 404 [ci skip]
This commit is contained in:
commit
d3b951f326
@ -53,7 +53,7 @@ module DataStreaming
|
||||
#
|
||||
# Show a 404 page in the browser:
|
||||
#
|
||||
# send_file '/path/to/404.html', type: 'text/html; charset=utf-8', status: 404
|
||||
# send_file '/path/to/404.html', type: 'text/html; charset=utf-8', disposition: 'inline', status: 404
|
||||
#
|
||||
# Read about the other Content-* HTTP headers if you'd like to
|
||||
# provide the user with more information (such as Content-Description) in
|
||||
|
Loading…
Reference in New Issue
Block a user