Module: Adminterface::Configs::Configurable
- Defined in:
- lib/adminterface/configs.rb
Instance Attribute Summary collapse
- #comments_input ⇒ Object
- #comments_pager ⇒ Object
- #comments_per_page ⇒ Object
- #components ⇒ Object
- #css_classes ⇒ Object
- #lang_dir ⇒ Object
- #pager ⇒ Object
Instance Attribute Details
#comments_input ⇒ Object
39 40 41 |
# File 'lib/adminterface/configs.rb', line 39 def comments_input @comments_input || namespace.comments_input end |
#comments_pager ⇒ Object
31 32 33 |
# File 'lib/adminterface/configs.rb', line 31 def comments_pager @comments_pager || namespace.comments_pager end |
#comments_per_page ⇒ Object
35 36 37 |
# File 'lib/adminterface/configs.rb', line 35 def comments_per_page @comments_per_page || namespace.comments_per_page end |
#components ⇒ Object
19 20 21 |
# File 'lib/adminterface/configs.rb', line 19 def components namespace.components.deep_merge(@components || {}) end |
#css_classes ⇒ Object
23 24 25 |
# File 'lib/adminterface/configs.rb', line 23 def css_classes namespace.css_classes.deep_merge(@css_classes || {}) end |
#lang_dir ⇒ Object
15 16 17 |
# File 'lib/adminterface/configs.rb', line 15 def lang_dir(...) @lang_dir || namespace.lang_dir(...) end |
#pager ⇒ Object
27 28 29 |
# File 'lib/adminterface/configs.rb', line 27 def pager @pager || namespace.pager end |