Module: Remotipart
- Included in:
- ActionView::Base
- Defined in:
- lib/remotipart.rb
Instance Method Summary collapse
Instance Method Details
#remotipart_response(options = {}, &block) ⇒ Object
2 3 4 5 6 |
# File 'lib/remotipart.rb', line 2 def remotipart_response( = {}, &block) response.content_type = Mime::HTML content = with_output_buffer(&block) text_area_tag('remotipart_response', String.new(content), ) end |