lib/dato/local/site.rb in dato-0.3.21 vs lib/dato/local/site.rb in dato-0.3.22

- old
+ new

@@ -8,11 +8,11 @@ module Local class Site extend Forwardable attr_reader :entity - def_delegators :entity, :id, :name, :locales, :theme_hue, :domain, + def_delegators :entity, :id, :name, :locales, :theme, :domain, :internal_domain, :no_index, :frontend_url def initialize(entity, items_repo) @entity = entity @items_repo = items_repo @@ -35,10 +35,10 @@ Utils::FaviconTagsBuilder.new(self, theme_color).meta_tags end def to_hash attributes = [ - :id, :name, :locales, :theme_hue, :domain, :internal_domain, + :id, :name, :locales, :theme, :domain, :internal_domain, :no_index, :global_seo, :favicon, :frontend_url ] attributes.each_with_object({}) do |attribute, result| value = send(attribute)