aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/CHANGELOG
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2006-12-02 22:48:20 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2006-12-02 22:48:20 +0000
commit5410f2cb74737bd6d96c226230c2b9c2bfe1d80b (patch)
treefa98f0714273e73f2fcee6b7e7853c628502401a /actionpack/CHANGELOG
parent1ac4470da52e3ad4eee945e70f597ce7af7f0003 (diff)
downloadrails-5410f2cb74737bd6d96c226230c2b9c2bfe1d80b.tar.gz
rails-5410f2cb74737bd6d96c226230c2b9c2bfe1d80b.tar.bz2
rails-5410f2cb74737bd6d96c226230c2b9c2bfe1d80b.zip
Added the option for extension aliases to mime type registration [DHH] Refactored default mime types to use the extension framework instead of just declaring themselves verbosely
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5663 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/CHANGELOG')
-rw-r--r--actionpack/CHANGELOG6
1 files changed, 6 insertions, 0 deletions
diff --git a/actionpack/CHANGELOG b/actionpack/CHANGELOG
index 8d5ee81c63..e2ef473fdd 100644
--- a/actionpack/CHANGELOG
+++ b/actionpack/CHANGELOG
@@ -1,5 +1,11 @@
*SVN*
+* Added the option for extension aliases to mime type registration [DHH]. Example (already in the default routes):
+
+ Mime::Type.register "text/html", :html, %w( application/xhtml+xml ), %w( xhtml )
+
+ ...will respond on both .html and .xhtml.
+
* @response.redirect_url works with 201 Created responses: just return headers['Location'] rather than checking the response status. [Jeremy Kemper]
* Added CSV to Mime::SET so that respond_to csv will work [Cody Fauser]