diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2008-02-29 18:09:23 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2008-02-29 18:09:23 +0000 |
commit | 7dcd0d7d967c613f4e447ba6330e1f616b93c1a3 (patch) | |
tree | 36b52049215ce5addbe7092c0d682d23e4ff32ba /activerecord/test/cases/associations/callbacks_test.rb | |
parent | 18aa19c68a0ff2dbb3ab77eb35343b2e2a145441 (diff) | |
download | rails-7dcd0d7d967c613f4e447ba6330e1f616b93c1a3.tar.gz rails-7dcd0d7d967c613f4e447ba6330e1f616b93c1a3.tar.bz2 rails-7dcd0d7d967c613f4e447ba6330e1f616b93c1a3.zip |
Added that requests with JavaScript as the priority mime type in the accept header and no format extension in the parameters will be treated as though their format was :js when it comes to determining which template to render. This makes it possible for JS requests to automatically render action.js.rjs files without an explicit respond_to block [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8956 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord/test/cases/associations/callbacks_test.rb')
0 files changed, 0 insertions, 0 deletions