lib/remotipart.rb in remotipart-0.2.0 vs lib/remotipart.rb in remotipart-0.2.1

- old
+ new

@@ -1,9 +1,9 @@ module Remotipart - def remotipart_response(&block) + def remotipart_response(options = {}, &block) response.content_type = Mime::HTML content = with_output_buffer(&block) - text_area_tag('remotipart_response', String.new(content)) + text_area_tag('remotipart_response', String.new(content), options) end end class ActionView::Base include Remotipart \ No newline at end of file