lib/landable/configuration.rb in landable-1.9.0.rc1 vs lib/landable/configuration.rb in landable-1.9.0.rc2

- old
+ new

@@ -6,11 +6,11 @@ attr_writer :categories attr_writer :screenshots_enabled attr_writer :traffic_enabled attr_writer :sitemap_exclude_categories, :sitemap_protocol, :sitemap_host, :sitemap_additional_paths attr_writer :reserved_paths, :partials_to_templates, :database_schema_prefix - attr_writer :publicist_url + attr_writer :publicist_url, :audit_flags def authenticators @authenticators || raise("No Landable authenticator configured.") end @@ -44,9 +44,13 @@ end end def public_host @public_host ||= public_uri.try(:host) + end + + def audit_flags + @audit_flags ||= [] end def public_namespace @public_namespace ||= (public_uri.try(:path).presence || '') end