aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2006-08-31 03:07:38 +0000
committerJeremy Kemper <jeremy@bitsweat.net>2006-08-31 03:07:38 +0000
commit785e1fa599050513f8d0b235338c771f04dcf422 (patch)
treee7d72fd1df9f8223386a311c72f1bdbe87cf6d58
parent7635facdc8f9f1f41f5f19d4902d8598625768c7 (diff)
downloadrails-785e1fa599050513f8d0b235338c771f04dcf422.tar.gz
rails-785e1fa599050513f8d0b235338c771f04dcf422.tar.bz2
rails-785e1fa599050513f8d0b235338c771f04dcf422.zip
Fix send_data documentation typo. Closes #5982.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4884 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
-rw-r--r--actionpack/CHANGELOG2
-rw-r--r--actionpack/lib/action_controller/streaming.rb2
2 files changed, 3 insertions, 1 deletions
diff --git a/actionpack/CHANGELOG b/actionpack/CHANGELOG
index 3f81822176..281c0a85e4 100644
--- a/actionpack/CHANGELOG
+++ b/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]
diff --git a/actionpack/lib/action_controller/streaming.rb b/actionpack/lib/action_controller/streaming.rb
index dfc9cdc274..51bede19c0 100644
--- a/actionpack/lib/action_controller/streaming.rb
+++ b/actionpack/lib/action_controller/streaming.rb
@@ -88,8 +88,8 @@ module ActionController #:nodoc:
# * <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