aboutsummaryrefslogtreecommitdiffstats
path: root/railties/environments
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2006-12-02 23:07:04 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2006-12-02 23:07:04 +0000
commit7611fa6d469cef9accabe6bb5e7e95914756322a (patch)
tree1a2501c62c34858277dd0b91906fabd1884245d2 /railties/environments
parent5410f2cb74737bd6d96c226230c2b9c2bfe1d80b (diff)
downloadrails-7611fa6d469cef9accabe6bb5e7e95914756322a.tar.gz
rails-7611fa6d469cef9accabe6bb5e7e95914756322a.tar.bz2
rails-7611fa6d469cef9accabe6bb5e7e95914756322a.zip
Added Request#format to return the format used for the request as a mime type. If no format is specified, the first Request#accepts type is used. This means you can stop using respond_to for anything else than responses [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5664 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'railties/environments')
0 files changed, 0 insertions, 0 deletions