Permalink
Browse files

Fix wrap_parameters initializer template

  • Loading branch information...
1 parent bfb9e61 commit f76842f57e3f4e9292867a456abd90c034230916 @jonleighton jonleighton committed Aug 16, 2011
@@ -4,7 +4,7 @@
# is enabled by default.
# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
-<%= app_const %>.config.wrap_parameters <%= key_value :format, "[:json]" %>
+<%= app_const %>.config.wrap_parameters = { <%= key_value :format, "[:json]" %> }
# Disable root element in JSON by default.
if defined?(ActiveRecord)

0 comments on commit f76842f

Please sign in to comment.