Mercurial > hg > soundsoftware-site
view config/initializers/20-mime_types.rb @ 864:2465362d1b56 bug_145
Close obsolete branch bug_145
author | Chris Cannam |
---|---|
date | Wed, 11 May 2011 11:57:41 +0100 |
parents | 513646585e45 |
children | 433d4f72a19b |
line wrap: on
line source
# Add new mime types for use in respond_to blocks: Mime::SET << Mime::CSV unless Mime::SET.include?(Mime::CSV) Mime::Type.register 'application/pdf', :pdf Mime::Type.register 'image/png', :png