mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Slightly improve the syntax
This commit is contained in:
parent
688d8bf443
commit
b3a3870765
1 changed files with 1 additions and 1 deletions
|
@ -404,7 +404,7 @@ Note that while for session values you set the key to `nil`, to delete a cookie
|
|||
Rendering xml and json data
|
||||
---------------------------
|
||||
|
||||
ActionController makes it extremely easy to render `xml` or `json` data. If you generate a controller using scaffold then your controller would look something like this.
|
||||
ActionController makes it extremely easy to render `xml` or `json` data. If you generate a controller using scaffolding then it would look something like this:
|
||||
|
||||
```ruby
|
||||
class UsersController < ApplicationController
|
||||
|
|
Loading…
Reference in a new issue