We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4238e7a commit 0f51b0dCopy full SHA for 0f51b0d
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.base_name.to_sym] = resource.model
75
76
locals_hash
77
end
0 commit comments