Class: ActionView::PartialTemplate

Inherits:
Object
  • Object
show all
Defined in:
lib/malline/adapters/rails-2.1.rb

Instance Method Summary collapse

Instance Method Details

#orig_renderObject



94
# File 'lib/malline/adapters/rails-2.1.rb', line 94

alias_method :orig_render, :render

#render(*args) ⇒ Object



95
96
97
98
99
# File 'lib/malline/adapters/rails-2.1.rb', line 95

def render *args
	out = orig_render *args
	@view.current_render_extension = @prev_extension
	out
end