Sha256: 69422df6d589c0c121dbc500dab0593e0735dbb4d0c681497e69deca3071fa53
Contents?: true
Size: 727 Bytes
Versions: 4
Compression:
Stored size: 727 Bytes
Contents
require 'active_support/core_ext/module/delegation' require 'active_support/core_ext/module/attribute_accessors' require 'active_support/hash_with_indifferent_access' module Ecm module Cms module Configuration def configure yield self end mattr_accessor :base_controller do 'ApplicationController' end mattr_accessor :default_handlers do HashWithIndifferentAccess.new() end mattr_accessor :site_title do '' end mattr_accessor :navigation_item_properties do [] end def default_handlers=(default_handlers) @@default_handlers = HashWithIndifferentAccess.new(default_handlers) end end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
ecm_cms2-1.1.1 | lib/ecm/cms/configuration.rb |
ecm_cms2-1.1.0 | lib/ecm/cms/configuration.rb |
ecm_cms2-1.0.1 | lib/ecm/cms/configuration.rb |
ecm_cms2-1.0.0 | lib/ecm/cms/configuration.rb |