lib/themes_on_rails/controller_additions.rb
module ThemesOnRails
module ControllerAdditions
extend ActiveSupport::Concern
module ClassMethods
def theme(theme, options={})
@_theme = theme
@_theme_options = options
ThemesOnRails::ActionController.apply_theme(self, theme, options)
end
end
end
end