mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Merge pull request #36710 from ypresto/patch-1
[ActionController] Fix send_file example for 404 [ci skip]
This commit is contained in:
commit
d3b951f326
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ module ActionController #:nodoc:
|
|||
#
|
||||
# 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 a new issue