mirror of
https://github.com/github/rails.git
synced 2026-02-04 11:15:08 -05:00
42596543dc0bac7aad9763b82ee4cc2b17f3110c
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5694 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
respond_to recognizes JSON. render :json => @person.to_json automatically sets the content type and takes a :callback option to specify a client-side function to call using the rendered JSON as an argument. References #4185.
Description
No description provided
Languages
Ruby
97.9%
CSS
1.5%
HTML
0.5%