app/models/maestrano/connector/rails/concerns/entity.rb in maestrano-connector-rails-1.3.3 vs app/models/maestrano/connector/rails/concerns/entity.rb in maestrano-connector-rails-1.3.4
- old
+ new
@@ -134,10 +134,10 @@
def count_entities(entities)
entities.size
end
def public_connec_entity_name
- connec_entity_name.pluralize
+ singleton? ? connec_entity_name : connec_entity_name.pluralize
end
def public_external_entity_name
external_entity_name.pluralize
end