Module: Archangel::Controllers::ThemableConcern::ClassMethods

Defined in:
app/controllers/concerns/archangel/controllers/themable_concern.rb

Overview

ThemableConcern class methods

Instance Method Summary collapse

Instance Method Details

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

Converts the object into textual markup given a specific format.


25
26
27
28
29
30
# File 'app/controllers/concerns/archangel/controllers/themable_concern.rb', line 25

def theme(theme, options = {})
  @_theme = theme
  @_theme_options = options

  Archangel::Theme::ThemableController.apply_theme(self, theme, options)
end