comparison config/initializers/mime_types.rb @ 431:68eb23b52864

Rails 5 \o/
author nanaya <me@myconan.net>
date Fri, 13 May 2016 03:56:07 +0900
parents 3a1f6c2e195d
children
comparison
equal deleted inserted replaced
430:6257da6e1aa1 431:68eb23b52864
1 # Be sure to restart your server when you modify this file. 1 # Be sure to restart your server when you modify this file.
2 2
3 # Add new mime types for use in respond_to blocks: 3 # Add new mime types for use in respond_to blocks:
4 # Mime::Type.register "text/richtext", :rtf 4 # Mime::Type.register "text/richtext", :rtf
5 # Mime::Type.register_alias "text/html", :iphone
6 Mime::Type.register "text/plain", :txt 5 Mime::Type.register "text/plain", :txt