Browse files

Add Mime::Type.register "text/vcard", :vcf to the default list of mim…

…e types
  • Loading branch information...
1 parent 6f9d97c commit 13dd38cee79be39f7b399e142fd78295dddd2abb @dhh dhh committed Dec 5, 2013
Showing with 5 additions and 0 deletions.
  1. +4 −0 actionpack/CHANGELOG.md
  2. +1 −0 actionpack/lib/action_dispatch/http/mime_types.rb
View
4 actionpack/CHANGELOG.md
@@ -1,3 +1,7 @@
+* Add Mime::Type.register "text/vcard", :vcf to the default list of mime types
+
+ *DHH*
+
* Remove deprecated `ActionController::RecordIdentifier`, use
`ActionView::RecordIdentifier` instead.
View
1 actionpack/lib/action_dispatch/http/mime_types.rb
@@ -7,6 +7,7 @@
Mime::Type.register "text/css", :css
Mime::Type.register "text/calendar", :ics
Mime::Type.register "text/csv", :csv
+Mime::Type.register "text/vcard", :vcf
Mime::Type.register "image/png", :png, [], %w(png)
Mime::Type.register "image/jpeg", :jpeg, [], %w(jpg jpeg jpe pjpeg)

0 comments on commit 13dd38c

Please sign in to comment.