To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.

Statistics Download as Zip
| Branch: | Tag: | Revision:

root / .svn / pristine / 35 / 35f7ce114c4047a04259024e5c563af98880d0e2.svn-base @ 1297:0a574315af3e

History | View | Annotate | Download (194 Bytes)

1
# Add new mime types for use in respond_to blocks:
2

    
3
Mime::SET << Mime::CSV unless Mime::SET.include?(Mime::CSV)
4
Mime::Type.register 'application/pdf', :pdf
5
Mime::Type.register 'image/png', :png