Class: LatoCms::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/lato_cms/config.rb

Overview

Config This class contains the default configuration of the engine.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfig

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

#localesObject

Returns the value of attribute locales.



6
7
8
# File 'lib/lato_cms/config.rb', line 6

def locales
  @locales
end

#templates_pathObject

Returns the value of attribute templates_path.



6
7
8
# File 'lib/lato_cms/config.rb', line 6

def templates_path
  @templates_path
end