We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4349026 commit 7c3152aCopy full SHA for 7c3152a
lib/inertia_rails/renderer.rb
@@ -46,7 +46,7 @@ def computed_props
46
#
47
# Functionally, this permits using either string or symbol keys in the controller. Since the results
48
# is cast to json, we should treat string/symbol keys as identical.
49
- _props = @controller.send(:shared_data).merge.deep_symbolize_keys.send(prop_merge_method, @props.deep_symbolize_keys).select do |key, prop|
+ _props = @controller.shared_data.merge.deep_symbolize_keys.send(prop_merge_method, @props.deep_symbolize_keys).select do |key, prop|
50
if rendering_partial_component?
51
key.in? partial_keys
52
else
0 commit comments