mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Merge pull request #24630 from aried3r/patch-1
Update send_data documentation [ci skip]
This commit is contained in:
commit
2d744fee9c
1 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,7 @@ module ActionController #:nodoc:
|
|||
# Options:
|
||||
# * <tt>:filename</tt> - suggests a filename for the browser to use.
|
||||
# * <tt>:type</tt> - specifies an HTTP content type. Defaults to 'application/octet-stream'. You can specify
|
||||
# either a string or a symbol for a registered type register with <tt>Mime::Type.register</tt>, for example :json
|
||||
# either a string or a symbol for a registered type register with <tt>Mime::Type.register</tt>, for example :json.
|
||||
# If omitted, type will be guessed from the file extension specified in <tt>:filename</tt>.
|
||||
# If no content type is registered for the extension, default type 'application/octet-stream' will be used.
|
||||
# * <tt>:disposition</tt> - specifies whether the file will be shown inline or downloaded.
|
||||
|
|
Loading…
Reference in a new issue