aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Molina <marcel@vernix.org>2007-10-26 03:25:40 +0000
committerMarcel Molina <marcel@vernix.org>2007-10-26 03:25:40 +0000
commit2f254137e29182b62b3f00aae038f2039e187f23 (patch)
tree6be6dc05c82ff9a9c8de8e7ad3ea2d98d0077f28
parent34c125d774ed817d45bb11a5173f989ca16cc514 (diff)
downloadrails-2f254137e29182b62b3f00aae038f2039e187f23.tar.gz
rails-2f254137e29182b62b3f00aae038f2039e187f23.tar.bz2
rails-2f254137e29182b62b3f00aae038f2039e187f23.zip
Make documentation comment for mime responders match documentation example. Closes #9357 [yon]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8027 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
-rw-r--r--actionpack/CHANGELOG2
-rw-r--r--actionpack/lib/action_controller/mime_responds.rb2
2 files changed, 3 insertions, 1 deletions
diff --git a/actionpack/CHANGELOG b/actionpack/CHANGELOG
index 19224a9b49..876bc4508d 100644
--- a/actionpack/CHANGELOG
+++ b/actionpack/CHANGELOG
@@ -1,5 +1,7 @@
*SVN*
+* Make documentation comment for mime responders match documentation example. Closes #9357 [yon]
+
* Introduce a new test case class for functional tests. ActionController::TestCase. [Koz]
* Fix incorrect path in helper rdoc. Closes #9926 [viktor tron]
diff --git a/actionpack/lib/action_controller/mime_responds.rb b/actionpack/lib/action_controller/mime_responds.rb
index a375ac894a..4ba4e626e2 100644
--- a/actionpack/lib/action_controller/mime_responds.rb
+++ b/actionpack/lib/action_controller/mime_responds.rb
@@ -54,7 +54,7 @@ module ActionController #:nodoc:
# end
#
# If the client wants HTML, we just redirect them back to the person list. If they want Javascript
- # (wants.js), then it is an RJS request and we render the RJS template associated with this action.
+ # (format.js), then it is an RJS request and we render the RJS template associated with this action.
# Lastly, if the client wants XML, we render the created person as XML, but with a twist: we also
# include the person's company in the rendered XML, so you get something like this:
#