Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: f76842f57e
Fetching contributors…

Cannot retrieve contributors at this time

13 lines (10 sloc) 0.463 kB
# 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.
<%= app_const %>.config.wrap_parameters = { <%= key_value :format, "[:json]" %> }
# Disable root element in JSON by default.
if defined?(ActiveRecord)
ActiveRecord::Base.include_root_in_json = false
end
Jump to Line
Something went wrong with that request. Please try again.