Skip to content

Commit

Permalink
Merge pull request rails#36710 from ypresto/patch-1
Browse files Browse the repository at this point in the history
[ActionController] Fix send_file example for 404

[ci skip]
  • Loading branch information
kamipo authored Jul 19, 2019
2 parents 027085a + 438af55 commit d3b951f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion actionpack/lib/action_controller/metal/data_streaming.rb
Original file line number Diff line number Diff line change
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 d3b951f

Please sign in to comment.