DEV: Apply syntax_tree formatting to config/*

This commit is contained in:
David Taylor
2023-01-07 11:59:28 +00:00
parent 436b3b392b
commit 7c77cc6a58
47 changed files with 1627 additions and 1091 deletions

View File

@@ -6,11 +6,7 @@
# is enabled by default.
# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
ActiveSupport.on_load(:action_controller) do
wrap_parameters format: [:json]
end
ActiveSupport.on_load(:action_controller) { wrap_parameters format: [:json] }
# Disable root element in JSON by default.
ActiveSupport.on_load(:active_record) do
self.include_root_in_json = false
end
ActiveSupport.on_load(:active_record) { self.include_root_in_json = false }