annotate config/initializers/20-mime_types.rb @ 1483:7e57ccd5f44b insider

Close obsolete branch insider
author Chris Cannam
date Sat, 10 Nov 2012 12:57:50 +0000
parents 513646585e45
children 433d4f72a19b
rev   line source
Chris@0 1 # Add new mime types for use in respond_to blocks:
Chris@0 2
Chris@0 3 Mime::SET << Mime::CSV unless Mime::SET.include?(Mime::CSV)
Chris@0 4 Mime::Type.register 'application/pdf', :pdf
Chris@0 5 Mime::Type.register 'image/png', :png