Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix send_data documentation typo. Closes #5982.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4884 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information
jeremy committed Aug 31, 2006
1 parent 7635fac commit 785e1fa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions actionpack/CHANGELOG
@@ -1,5 +1,7 @@
*SVN*

* Fix send_data documentation typo. #5982 [brad@madriska.com]

* Switch to using FormEncodedPairParser for parsing request parameters. [Nicholas Seckar, DHH]

* respond_to .html now always renders #{action_name}.rhtml so that registered custom template handlers do not override it in priority. Custom mime types require a block and throw proper error now. [Tobias Luetke]
Expand Down
2 changes: 1 addition & 1 deletion actionpack/lib/action_controller/streaming.rb
Expand Up @@ -88,8 +88,8 @@ def send_file(path, options = {}) #:doc:
# * <tt>:type</tt> - specifies an HTTP content type.
# Defaults to 'application/octet-stream'.
# * <tt>:disposition</tt> - specifies whether the file will be shown inline or downloaded.
# * <tt>:status</tt> - specifies the status code to send with the response. Defaults to '200 OK'.
# Valid values are 'inline' and 'attachment' (default).
# * <tt>:status</tt> - specifies the status code to send with the response. Defaults to '200 OK'.
#
# Generic data download:
# send_data buffer
Expand Down

0 comments on commit 785e1fa

Please sign in to comment.