Class: I18nDashboard::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/i18n_dashboard/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



15
16
17
# File 'lib/i18n_dashboard/configuration.rb', line 15

def initialize
  @inline_main_app_named_routes = false
end

Instance Attribute Details

#authentication_methodObject

The name of the before filter we’ll call to authenticate the current user. Defaults to :login_required



6
7
8
# File 'lib/i18n_dashboard/configuration.rb', line 6

def authentication_method
  @authentication_method
end

#inline_main_app_named_routesObject

Should the routes of the main app be accessible without the “main_app.” prefix ?



10
11
12
# File 'lib/i18n_dashboard/configuration.rb', line 10

def inline_main_app_named_routes
  @inline_main_app_named_routes
end

#layoutObject

Defaults to nil



13
14
15
# File 'lib/i18n_dashboard/configuration.rb', line 13

def layout
  @layout
end