Sha256: d2b54e74d2675a62d039ff9ca59aa8cc2f476d2b220b6e49ed551673b65dc2dc
Contents?: true
Size: 348 Bytes
Versions: 4
Compression:
Stored size: 348 Bytes
Contents
module Remotipart def remotipart_response(options = {}, &block) content = with_output_buffer(&block) if params[:remotipart_submitted] response.content_type = Mime::HTML text_area_tag('remotipart_response', String.new(content), options) else content end end end class ActionView::Base include Remotipart end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
remotipart-0.3.4 | lib/remotipart.rb |
remotipart-0.3.3 | lib/remotipart.rb |
remotipart-0.3.2 | lib/remotipart.rb |
remotipart-0.3.1 | lib/remotipart.rb |