Fixed documentation snafu with send_file -- the option is :stream, not :streaming #1621 [evl]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1723 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
parent
6f26511076
commit
38e78c6260
|
@ -24,7 +24,7 @@ module ActionController #:nodoc:
|
|||
# Defaults to 'application/octet-stream'.
|
||||
# * <tt>:disposition</tt> - specifies whether the file will be shown inline or downloaded.
|
||||
# Valid values are 'inline' and 'attachment' (default).
|
||||
# * <tt>:streaming</tt> - whether to send the file to the user agent as it is read (true)
|
||||
# * <tt>:stream</tt> - whether to send the file to the user agent as it is read (true)
|
||||
# or to read the entire file before sending (false). Defaults to true.
|
||||
# * <tt>:buffer_size</tt> - specifies size (in bytes) of the buffer used to stream the file.
|
||||
# Defaults to 4096.
|
||||
|
|
Loading…
Reference in New Issue