Mercurial > rsstweet
diff config/initializers/wrap_parameters.rb @ 260:e2150dce4e90
Rubocop (rails) time
author | nanaya <me@nanaya.net> |
---|---|
date | Sun, 15 Dec 2024 22:59:09 +0900 |
parents | f67f3ad50270 |
children |
line wrap: on
line diff
--- a/config/initializers/wrap_parameters.rb Sun Dec 15 22:55:34 2024 +0900 +++ b/config/initializers/wrap_parameters.rb Sun Dec 15 22:59:09 2024 +0900 @@ -5,5 +5,5 @@ # 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] + wrap_parameters format: [ :json ] end