Skip to content

Commit

Permalink
[ActionController] Fix send_file example for 404
Browse files Browse the repository at this point in the history
  • Loading branch information
ypresto committed Jul 19, 2019
1 parent 027085a commit 438af55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion actionpack/lib/action_controller/metal/data_streaming.rb
Expand Up @@ -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
Expand Down

0 comments on commit 438af55

Please sign in to comment.