Sha256: 57009366b0b9e0b20223aff9793ae4ae8308e549aeeaaa4db96365d9e534543b
Contents?: true
Size: 393 Bytes
Versions: 2
Compression:
Stored size: 393 Bytes
Contents
module Remotipart module ViewHelper def escape_javascript(javascript) if remotipart_submitted? super("#{javascript}") else super end end alias_method :j, :escape_javascript #No longer used #Retrained to prevent issues while updating def remotipart_response(options = {}, &block) with_output_buffer(&block) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
remotipart-1.4.2 | lib/remotipart/view_helper.rb |
remotipart-1.4.0 | lib/remotipart/view_helper.rb |