Class: Disguise::Configuration

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.


20
21
22
23
24
# File 'lib/disguise/config.rb', line 20

def initialize
  @themes_enabled = true
  @use_domain_for_themes = false
  @theme_full_base_path = File.join(::Rails.root.to_s, 'themes')      
end

Instance Attribute Details

#theme_full_base_pathObject

Returns the value of attribute theme_full_base_path.


18
19
20
# File 'lib/disguise/config.rb', line 18

def theme_full_base_path
  @theme_full_base_path
end

#themes_enabledObject

Returns the value of attribute themes_enabled.


16
17
18
# File 'lib/disguise/config.rb', line 16

def themes_enabled
  @themes_enabled
end

#use_domain_for_themesObject

Returns the value of attribute use_domain_for_themes.


17
18
19
# File 'lib/disguise/config.rb', line 17

def use_domain_for_themes
  @use_domain_for_themes
end