aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
authorVijay Dev <vijaydev.cse@gmail.com>2011-05-09 00:02:27 +0530
committerVijay Dev <vijaydev.cse@gmail.com>2011-05-09 00:02:27 +0530
commit668cb42f94f8fdf4a999ceecaaa2d331612637d9 (patch)
tree91f5eef438bfe38278dd13304f16301907700b42 /railties
parenteef2060879efb665524b9b61918267ef9a4e650d (diff)
downloadrails-668cb42f94f8fdf4a999ceecaaa2d331612637d9.tar.gz
rails-668cb42f94f8fdf4a999ceecaaa2d331612637d9.tar.bz2
rails-668cb42f94f8fdf4a999ceecaaa2d331612637d9.zip
improve comment in wrap_parameters template
Diffstat (limited to 'railties')
-rw-r--r--railties/lib/rails/generators/rails/app/templates/config/initializers/wrap_parameters.rb.tt2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/generators/rails/app/templates/config/initializers/wrap_parameters.rb.tt b/railties/lib/rails/generators/rails/app/templates/config/initializers/wrap_parameters.rb.tt
index 60137ed2bb..32ffbee7a1 100644
--- a/railties/lib/rails/generators/rails/app/templates/config/initializers/wrap_parameters.rb.tt
+++ b/railties/lib/rails/generators/rails/app/templates/config/initializers/wrap_parameters.rb.tt
@@ -3,7 +3,7 @@
# This file contains the settings for ActionController::ParametersWrapper
# which will be enabled by default in the upcoming version of Ruby on Rails.
-# Enable parameter wrapping for JSON. You can disable this by set :format to empty array.
+# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
ActionController::Base.wrap_parameters :format => [:json]
# Disable root element in JSON by default.