aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/generators/test_unit/scaffold/templates
diff options
context:
space:
mode:
authorPrem Sichanugrist <s@sikachu.com>2011-04-10 00:54:43 +0800
committerDavid Heinemeier Hansson <david@loudthinking.com>2011-04-10 16:47:49 +0800
commitc0efc4009adb870ee23e93d46ac374f772d8cb4f (patch)
treec8cb567f4c3fe22413a9676054661cd293171585 /railties/lib/rails/generators/test_unit/scaffold/templates
parent508c679f11adfd14ac35077917510c8fe81c73c0 (diff)
downloadrails-c0efc4009adb870ee23e93d46ac374f772d8cb4f.tar.gz
rails-c0efc4009adb870ee23e93d46ac374f772d8cb4f.tar.bz2
rails-c0efc4009adb870ee23e93d46ac374f772d8cb4f.zip
Make scaffold_controller generator generate code for JSON response instead of XML
It seems like a lot of people are using JSON in their API more than XML nowadays, so Rails should follow that convention by providing the JSON format block in scaffold_controller by default. This patch has been requested by DHH
Diffstat (limited to 'railties/lib/rails/generators/test_unit/scaffold/templates')
0 files changed, 0 insertions, 0 deletions