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.



51
52
53
# File 'lib/zafu/handler.rb', line 51

def view
  @view
end

Instance Method Details

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



52
53
54
55
# File 'lib/zafu/handler.rb', line 52

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