diff options
author | Michael Koziarski <michael@koziarski.com> | 2007-10-13 03:34:24 +0000 |
---|---|---|
committer | Michael Koziarski <michael@koziarski.com> | 2007-10-13 03:34:24 +0000 |
commit | 52235a70db09a9f935cb95df2902be28d97e0c5b (patch) | |
tree | f5935b0b07dc434a2adfc441d2213d1abbc282b3 /actionpack/lib | |
parent | 569c7d5488b6b021e6efb856c9e75322ead05c77 (diff) | |
download | rails-52235a70db09a9f935cb95df2902be28d97e0c5b.tar.gz rails-52235a70db09a9f935cb95df2902be28d97e0c5b.tar.bz2 rails-52235a70db09a9f935cb95df2902be28d97e0c5b.zip |
Missed post_via_redirect. References #6834
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7851 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/lib')
-rw-r--r-- | actionpack/lib/action_controller/integration.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/integration.rb b/actionpack/lib/action_controller/integration.rb index 48b60a9d4c..f8e9c36fd0 100644 --- a/actionpack/lib/action_controller/integration.rb +++ b/actionpack/lib/action_controller/integration.rb @@ -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 |