Module: TemplateSwitcher

Defined in:
lib/template_switcher.rb,
lib/template_switcher/railtie.rb,
lib/template_switcher/version.rb,
lib/template_switcher/auto_render_switcher.rb,
lib/template_switcher/action_controller_extension.rb

Defined Under Namespace

Modules: ActionControllerExtension, AutoRenderSwitcher Classes: Railtie

Constant Summary collapse

VERSION =
"0.0.2"

Class Method Summary collapse

Class Method Details

.mappingObject



3
4
5
# File 'lib/template_switcher.rb', line 3

def mapping
  @mapping
end

.mapping=(mapping = {}) ⇒ Object



7
8
9
# File 'lib/template_switcher.rb', line 7

def mapping=(mapping = {})
  @mapping = mapping
end