aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/CHANGELOG
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2006-06-02 04:11:56 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2006-06-02 04:11:56 +0000
commit984aa7eeb9da2860e6cd8954a93657c774eff207 (patch)
tree3d16110de8b6a3762a8fbc465c03601cc240cea0 /actionpack/CHANGELOG
parent5c30352328f8a0223746139e024b6bea7b3d36c0 (diff)
downloadrails-984aa7eeb9da2860e6cd8954a93657c774eff207.tar.gz
rails-984aa7eeb9da2860e6cd8954a93657c774eff207.tar.bz2
rails-984aa7eeb9da2860e6cd8954a93657c774eff207.zip
Added Mime::Type.register(string, symbol, synonyms = []) for adding new custom mime types [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4405 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/CHANGELOG')
-rw-r--r--actionpack/CHANGELOG2
1 files changed, 2 insertions, 0 deletions
diff --git a/actionpack/CHANGELOG b/actionpack/CHANGELOG
index 23da55ca6b..5c3a75755c 100644
--- a/actionpack/CHANGELOG
+++ b/actionpack/CHANGELOG
@@ -1,5 +1,7 @@
*SVN*
+* Added Mime::Type.register(string, symbol, synonyms = []) for adding new custom mime types [DHH]. Example: Mime::Type.register("image/gif", :gif)
+
* Added support for Mime objects in render :content_type option [DHH]. Example: render :text => some_atom, :content_type => Mime::ATOM
* Add :status option to send_data and send_file. Defaults to '200 OK'. #5243 [Manfred Stienstra <m.stienstra@fngtps.com>]