Class: I18nDashboard::Configuration
- Inherits:
-
Object
- Object
- I18nDashboard::Configuration
- Defined in:
- lib/i18n_dashboard/configuration.rb
Instance Attribute Summary collapse
-
#authentication_method ⇒ Object
The name of the before filter we’ll call to authenticate the current user.
-
#inline_main_app_named_routes ⇒ Object
Should the routes of the main app be accessible without the “main_app.” prefix ?.
-
#layout ⇒ Object
Defaults to nil.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
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_method ⇒ Object
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_routes ⇒ Object
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 |
#layout ⇒ Object
Defaults to nil
13 14 15 |
# File 'lib/i18n_dashboard/configuration.rb', line 13 def layout @layout end |