Permalink
Browse files

Fix wrap_parameters comments

  • Loading branch information...
1 parent 57c3bf2 commit 411406b48c1e99f47e642ab540cce1b603505141 @spastorino spastorino committed Jul 17, 2012
Showing with 2 additions and 3 deletions.
  1. +2 −3 lib/rails-api/templates/rails/app/config/initializers/wrap_parameters.rb.tt
@@ -1,9 +1,8 @@
# Be sure to restart your server when you modify this file.
#
-# This file contains settings for ActionController::ParamsWrapper which
-# is enabled by default.
+# This file contains settings for ActionController::ParamsWrapper
-# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
+# Enable parameter wrapping for JSON.
# ActiveSupport.on_load(:action_controller) do
# wrap_parameters format: [:json] if respond_to?(:wrap_parameters)
# end

0 comments on commit 411406b

Please sign in to comment.