diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2005-04-17 16:40:53 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2005-04-17 16:40:53 +0000 |
commit | 95e6c03de7cd52a426560a6c46bd08b1791d7022 (patch) | |
tree | 8fe6ae30ae5e3fe48e6c306d6a214894dd7bc39d /actionpack/lib/action_controller/caching.rb | |
parent | 7cda49248b5269b1aaf96729a31f85a315fbb764 (diff) | |
download | rails-95e6c03de7cd52a426560a6c46bd08b1791d7022.tar.gz rails-95e6c03de7cd52a426560a6c46bd08b1791d7022.tar.bz2 rails-95e6c03de7cd52a426560a6c46bd08b1791d7022.zip |
Added Request#xml_http_request? (and an alias xhr?) to that'll return true when the request came from one of the Javascript helper methods (Ajax). This can be used to give one behavior for modern browsers supporting Ajax, another to old browsers #1127 [Sam Stephenson]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1194 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/lib/action_controller/caching.rb')
0 files changed, 0 insertions, 0 deletions