Module: ThemesOnRails::ControllerAdditions::ClassMethods

Defined in:
lib/themes_on_rails/controller_additions.rb

Instance Method Summary collapse

Instance Method Details

#theme(theme, options = {}) ⇒ Object



6
7
8
9
10
# File 'lib/themes_on_rails/controller_additions.rb', line 6

def theme(theme, options={})
  @_theme         = theme
  @_theme_options = options
  ThemesOnRails::ActionController.apply_theme(self, theme, options)
end