Class: ActionView::Template

Inherits:
Object
  • Object
show all
Defined in:
lib/zafu/handler.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#viewObject (readonly)

Returns the value of attribute view.



46
47
48
# File 'lib/zafu/handler.rb', line 46

def view
  @view
end

Instance Method Details

#render_template_with_zafu(view, local_assigns = {}) ⇒ Object



47
48
49
50
# File 'lib/zafu/handler.rb', line 47

def render_template_with_zafu(view, local_assigns = {})
  Thread.current[:view] = view
  render_template_without_zafu(view, local_assigns)
end