aboutsummaryrefslogtreecommitdiffstats
path: root/guides
diff options
context:
space:
mode:
authorPrathamesh Sonpatki <csonpatki@gmail.com>2013-05-08 23:56:30 +0530
committerPrathamesh Sonpatki <csonpatki@gmail.com>2013-05-08 23:56:41 +0530
commit6abc3618369268015103121e980f7992b788bd89 (patch)
treea9b03d7e516cd6fdfd41338f5c4f0c986a1faed2 /guides
parentc3a5ea6ef696467acebaae4fc003662124ab26e6 (diff)
downloadrails-6abc3618369268015103121e980f7992b788bd89.tar.gz
rails-6abc3618369268015103121e980f7992b788bd89.tar.bz2
rails-6abc3618369268015103121e980f7992b788bd89.zip
Fix Typo xml -> XML, json -> JSON
Diffstat (limited to 'guides')
-rw-r--r--guides/source/action_controller_overview.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/guides/source/action_controller_overview.md b/guides/source/action_controller_overview.md
index 43a59e8d43..28939f307f 100644
--- a/guides/source/action_controller_overview.md
+++ b/guides/source/action_controller_overview.md
@@ -568,10 +568,10 @@ end
Note that while for session values you set the key to `nil`, to delete a cookie value you should use `cookies.delete(:key)`.
-Rendering xml and json data
+Rendering XML and JSON data
---------------------------
-ActionController makes it extremely easy to render `xml` or `json` data. If you've generated a controller using scaffolding, it would look something like this:
+ActionController makes it extremely easy to render `XML` or `JSON` data. If you've generated a controller using scaffolding, it would look something like this:
```ruby
class UsersController < ApplicationController