Class: LatoCms::Config
- Inherits:
-
Object
- Object
- LatoCms::Config
- Defined in:
- lib/lato_cms/config.rb
Overview
Config This class contains the default configuration of the engine.
Instance Attribute Summary collapse
-
#locales ⇒ Object
Returns the value of attribute locales.
-
#templates_path ⇒ Object
Returns the value of attribute templates_path.
Instance Method Summary collapse
-
#initialize ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize ⇒ Config
Returns a new instance of Config.
8 9 10 11 |
# File 'lib/lato_cms/config.rb', line 8 def initialize @locales = [:en] @templates_path = 'config/lato_cms' end |
Instance Attribute Details
#locales ⇒ Object
Returns the value of attribute locales.
6 7 8 |
# File 'lib/lato_cms/config.rb', line 6 def locales @locales end |
#templates_path ⇒ Object
Returns the value of attribute templates_path.
6 7 8 |
# File 'lib/lato_cms/config.rb', line 6 def templates_path @templates_path end |