lib/locomotive/steam/repositories/site_repository.rb in locomotivecms_steam-1.4.1 vs lib/locomotive/steam/repositories/site_repository.rb in locomotivecms_steam-1.5.0.beta1

- old
+ new

@@ -5,10 +5,10 @@ include Models::Repository # Entity mapping mapping :sites, entity: Site do - localized_attributes :seo_title, :meta_description, :meta_keywords + localized_attributes :seo_title, :meta_description, :meta_keywords, :sections_content end def by_domain(domain) first { where(k(:domains, :in) => [*domain]) } end