diff options
author | Rick Olson <technoweenie@gmail.com> | 2007-04-15 18:01:40 +0000 |
---|---|---|
committer | Rick Olson <technoweenie@gmail.com> | 2007-04-15 18:01:40 +0000 |
commit | 39ccb5e807eadfc9bf6ac780778aa1de4d09e196 (patch) | |
tree | 26f94ff11876e86d87298c31ff8f3e7c7a9ac55c /activesupport/lib/active_support/json/encoders/numeric.rb | |
parent | c2f4681ab40083880b3aabe38769a5d5d3432447 (diff) | |
download | rails-39ccb5e807eadfc9bf6ac780778aa1de4d09e196.tar.gz rails-39ccb5e807eadfc9bf6ac780778aa1de4d09e196.tar.bz2 rails-39ccb5e807eadfc9bf6ac780778aa1de4d09e196.zip |
Tweak template format rules so that the ACCEPT header is only used if it's text/javascript. This is so ajax actions without a :format param get recognized as Mime::JS. [Rick]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6522 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activesupport/lib/active_support/json/encoders/numeric.rb')
0 files changed, 0 insertions, 0 deletions