Permalink
Browse files

Missed post_via_redirect. References #6834

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7851 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent 569c7d5 commit 52235a70db09a9f935cb95df2902be28d97e0c5b @NZKoz NZKoz committed Oct 13, 2007
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/lib/action_controller/integration.rb
@@ -494,7 +494,7 @@ def reset!
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

0 comments on commit 52235a7

Please sign in to comment.