mirror of
https://github.com/ENSL/ensl.org.git
synced 2024-12-26 04:21:36 +00:00
7 lines
165 B
Ruby
7 lines
165 B
Ruby
ActiveSupport.on_load(:action_controller) do
|
|
wrap_parameters format: [:json]
|
|
end
|
|
|
|
ActiveSupport.on_load(:active_record) do
|
|
self.include_root_in_json = false
|
|
end
|