# Be sure to restart your server when you modify this file.
#
# This file contains settings for ActionController::ParamsWrapper which
# is enabled by default.

# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
ActionController::Base.wrap_parameters :format => [:json]

# Enable root element in JSON
if defined?(ActiveRecord)
  ActiveRecord::Base.include_root_in_json = true
end

Enable JSON root element, for API consistency
Enable JSON root element, for API consistency
