We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aea33cd commit 353796bCopy full SHA for 353796b
1 file changed
lib/sync/partial.rb
@@ -71,7 +71,7 @@ def path
71
72
def locals
73
locals_hash = {}
74
- locals_hash[resource.name.to_sym] = resource.model
+ locals_hash[resource.name.split('/').last.to_sym] = resource.model
75
76
locals_hash
77
end
0 commit comments