Permalink
Browse files

r4886@ks: jeremy | 2006-07-31 00:01:55 -0700

 comma


git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4636 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent dd664c3 commit ffaecb792e8f23efba513ffd8655f7832ba67b89 @jeremy jeremy committed Jul 31, 2006
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/lib/action_controller/integration.rb
@@ -168,7 +168,7 @@ def #{method}(path, parameters=nil, headers=nil)
# prefix 'HTTP_' added if needed.
def xml_http_request(path, parameters=nil, headers=nil)
headers = (headers || {}).merge(
- "X-Requested-With" => "XMLHttpRequest"
+ "X-Requested-With" => "XMLHttpRequest",
"Accept" => "text/javascript, text/html, application/xml, text/xml, */*"
)

0 comments on commit ffaecb7

Please sign in to comment.