Module: ActionController::DisguiseApplication::InstanceMethods
- Defined in:
- lib/action_controller/disguise_application.rb
Instance Method Summary collapse
Instance Method Details
#current_theme ⇒ Object
15 16 17 18 19 20 21 |
# File 'lib/action_controller/disguise_application.rb', line 15 def current_theme if DomainTheme.use_domain_themes? @theme ||= DomainTheme.get_theme(request) else @theme ||= Theme.first end end |