[ActionController] Fix send_file example for 404
This commit is contained in:
parent
027085a597
commit
438af5507c
@ -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