lib/dato/local/items_repo.rb in dato-0.1.25 vs lib/dato/local/items_repo.rb in dato-0.1.26
- old
+ new
@@ -51,10 +51,10 @@
def items_of_type(item_type)
method, singleton = item_type_methods[item_type]
if singleton
- [@collections_by_type[method]]
+ Array(@collections_by_type[method])
else
@collections_by_type[method]
end
end