Skip to content

Commit 0baa586

Browse files
committed
Fix naming namespaced locals
1 parent e2d0cdb commit 0baa586

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/sync/resource.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def id
5757
end
5858

5959
def name
60-
model.class.model_name.to_s.underscore
60+
model.class.model_name.to_s.underscore.model.split('/').last
6161
end
6262

6363
def plural_name

0 commit comments

Comments
 (0)