Sha256: d0b87c8009e0d53105e7e1a6eeb05be7012780949256a56b503d2e5d3b4bb6b4
Contents?: true
Size: 464 Bytes
Versions: 10
Compression:
Stored size: 464 Bytes
Contents
# For Rails before http://dev.rubyonrails.org/ticket/10497 was committed module Webrat module RedirectActions #:nodoc: def put_via_redirect(path, parameters = {}, headers = {}) put path, parameters, headers follow_redirect! while redirect? status end def delete_via_redirect(path, parameters = {}, headers = {}) delete path, parameters, headers follow_redirect! while redirect? status end end end
Version data entries
10 entries across 10 versions & 5 rubygems