module Volt::TemplateHelpders::ClassMethods
Public Instance Methods
template(name, template, bindings)
click to toggle source
# File lib/volt/controllers/template_helpers.rb, line 4 def template(name, template, bindings) @templates[name] = { 'html' => template, 'bindings' => bindings } end