Missed post_via_redirect. References #6834

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7851 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
Michael Koziarski
2007-10-13 03:34:24 +00:00
parent 569c7d5488
commit 52235a70db

View File

@@ -494,7 +494,7 @@ module ActionController
end
%w(get post put head delete cookies assigns
xml_http_request get_via_redirect).each do |method|
xml_http_request get_via_redirect post_via_redirect).each do |method|
define_method(method) do |*args|
reset! unless @integration_session
# reset the html_document variable, but only for new get/post calls