diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2006-05-31 18:52:24 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2006-05-31 18:52:24 +0000 |
commit | f9cd92f4ee49c689f25dbe7da008fb298a5feb4f (patch) | |
tree | 1498f6f638177ff53f99fb85cb89dc3c01c884e9 /activerecord/test/unconnected_test.rb | |
parent | e7fe1c47baf89522617b67e96b701ee916adcb88 (diff) | |
download | rails-f9cd92f4ee49c689f25dbe7da008fb298a5feb4f.tar.gz rails-f9cd92f4ee49c689f25dbe7da008fb298a5feb4f.tar.bz2 rails-f9cd92f4ee49c689f25dbe7da008fb298a5feb4f.zip |
Added interrogation of params[:format] to determine Accept type. If :format is specified and matches a declared extension, like "rss" or "xml", that mime type will be put in front of the accept handler. This means you can link to the same action from different extensions and use that fact to determine output [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4384 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord/test/unconnected_test.rb')
0 files changed, 0 insertions, 0 deletions