From 2f254137e29182b62b3f00aae038f2039e187f23 Mon Sep 17 00:00:00 2001
From: Marcel Molina <marcel@vernix.org>
Date: Fri, 26 Oct 2007 03:25:40 +0000
Subject: 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
---
 actionpack/CHANGELOG                              | 2 ++
 actionpack/lib/action_controller/mime_responds.rb | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

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:
       #
-- 
cgit v1.2.3