Method: Crayfish::ActionView#render
- Defined in:
- lib/crayfish/action_view.rb
#render(*args) ⇒ Object
26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 |
# File 'lib/crayfish/action_view.rb', line 26 def render *args if @branch_level @branch_level += 1 if @options[:html] super else stack = @output_buffer @output_buffer = ::ActionView::OutputBuffer.new super @output_buffer = stack end @branch_level -= 1 else super end end |