1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

[ActionController] Fix send_file example for 404

This commit is contained in:
Yuya Tanaka 2019-07-19 14:39:48 +09:00 committed by GitHub
parent 027085a597
commit 438af5507c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -53,7 +53,7 @@ module ActionController #:nodoc:
# #
# Show a 404 page in the browser: # 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 # Read about the other Content-* HTTP headers if you'd like to
# provide the user with more information (such as Content-Description) in # provide the user with more information (such as Content-Description) in