lib/react.rb in react-rails-2.4.7 vs lib/react.rb in react-rails-2.5.0

- old
+ new

@@ -11,9 +11,13 @@ new_props[new_key] = new_value end when Array props.map { |item| camelize_props(item) } else - props + if defined?(ActionController::Parameters) && props.is_a?(ActionController::Parameters) + camelize_props(props.to_h) + else + props + end end end end