annotate config/initializers/20-mime_types.rb @ 401:a0f6e994657f feature_113

Fix index file name; minor text changes; hack in link to repo (currently hard-coded with project name!)
author Chris Cannam <chris.cannam@soundsoftware.ac.uk>
date Mon, 11 Apr 2011 20:08:05 +0100
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