Skip to content

Commit 353796b

Browse files
committed
Fix naming namespaced locals
1 parent aea33cd commit 353796b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/sync/partial.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def path
7171

7272
def locals
7373
locals_hash = {}
74-
locals_hash[resource.name.to_sym] = resource.model
74+
locals_hash[resource.name.split('/').last.to_sym] = resource.model
7575

7676
locals_hash
7777
end

0 commit comments

Comments
 (0)