Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix Typo xml -> XML, json -> JSON

  • Loading branch information...
commit 6abc3618369268015103121e980f7992b788bd89 1 parent c3a5ea6
प्रथमेश prathamesh-sonpatki authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 guides/source/action_controller_overview.md
4 guides/source/action_controller_overview.md
View
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.