Sha256: 4cbc7917bbaae1a555bd3f85aaf949965e8eb2798693591591435a4b0b819a02
Contents?: true
Size: 285 Bytes
Versions: 2
Compression:
Stored size: 285 Bytes
Contents
module TemplateSwitcher module AutoRenderSwitcher extend ActiveSupport::Concern def render(*args) render_switcher(template_selector, *args) end def template_selector nil end included do include ActionControllerExtension end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
template-switcher-0.0.2 | lib/template_switcher/auto_render_switcher.rb |
template-switcher-0.0.1 | lib/template_switcher/auto_render_switcher.rb |