lib/dato/local/items_repo.rb in dato-0.3.13 vs lib/dato/local/items_repo.rb in dato-0.3.14
- old
+ new
@@ -28,10 +28,13 @@
super
end
end
def site
- Site.new(entities_repo.find_entities_of_type('site').first)
+ Site.new(
+ entities_repo.find_entities_of_type('site').first,
+ self
+ )
end
def available_locales
site.locales.map(&:to_sym)
end