Sha256: caba47b8437dd5731c2fb472e07584dd2142cc51c71f82fe4f67d630cfdb1ed4
Contents?: true
Size: 754 Bytes
Versions: 4
Compression:
Stored size: 754 Bytes
Contents
module Spud module Core include ActiveSupport::Configurable config_accessor :site_name,:admin_applications,:sitemap_urls,:multisite_mode_enabled,:multisite_config,:from_address self.admin_applications = [{:name => "Users",:thumbnail => "spud/admin/users_thumb.png",:url => "/spud/admin/users",:order => 100}] self.site_name = "Company Name" self.sitemap_urls = [] self.multisite_mode_enabled = false self.multisite_config = [] self.from_address = "no-reply@spudengine.com" def self.site_config_for_host(host) configs = Spud::Core.multisite_config.select{|p| p[:hosts].include?(host)} if configs.blank? return nil else return configs[0] end end end end
Version data entries
4 entries across 4 versions & 1 rubygems