From 5410f2cb74737bd6d96c226230c2b9c2bfe1d80b Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Sat, 2 Dec 2006 22:48:20 +0000 Subject: 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 --- actionpack/CHANGELOG | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'actionpack/CHANGELOG') 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] -- cgit v1.2.3