Sha256: 3ac26b0011af48c14c0be5e9dcb5f13084ccf1fa6ab3240ef97d8f271fb74cf5
Contents?: true
Size: 622 Bytes
Versions: 2
Compression:
Stored size: 622 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 Blog module Configuration def configure yield self end mattr_accessor(:base_controller) { '::FrontendController' } mattr_accessor(:creator_class_name) { 'User' } mattr_accessor(:posts_index_page_title_proc) { ->(view) { view.resource_class.model_name.human(count: :other) } } mattr_accessor(:pagination_options_proc) { ->(view) { { theme: 'twitter-bootstrap-3' } } } end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ecm_blog-1.2.1 | lib/ecm/blog/configuration.rb |
ecm_blog-1.2.0 | lib/ecm/blog/configuration.rb |