Mercurial > zeropaste
view config/initializers/mime_types.rb @ 418:a69dd2d37950
Prevent adding unrelated classes and funny characters
author | nanaya <me@myconan.net> |
---|---|
date | Thu, 17 Sep 2015 01:13:14 +0900 |
parents | 3a1f6c2e195d |
children | 68eb23b52864 |
line wrap: on
line source
# Be sure to restart your server when you modify this file. # Add new mime types for use in respond_to blocks: # Mime::Type.register "text/richtext", :rtf # Mime::Type.register_alias "text/html", :iphone Mime::Type.register "text/plain", :txt