Sha256: c3c418842c64f72ca2a09303f29f57242cf4f857efef8c3df771a26dfd6ce63a
Contents?: true
Size: 621 Bytes
Versions: 2
Compression:
Stored size: 621 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 Tags module Configuration def configure yield self end mattr_accessor(:base_controller) { 'FrontendController' } mattr_accessor(:add_submit_button_to_search_box) { true } mattr_accessor(:tag_search_exact_default_value) { false } mattr_accessor(:taggable_class_names) { [] } def self.taggable_classes @@taggable_class_names.map(&:constantize) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ecm_tags-2.2.1 | lib/ecm/tags/configuration.rb |
ecm_tags-2.2.0 | lib/ecm/tags/configuration.rb |