mirror of
https://github.com/github/rails.git
synced 2026-01-29 00:08:15 -05:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user