use grit to get the file's mime type, as suggested.

http://github.com/github/gollum/commit/6de9ddfd3f79a9cb320aab3c43b8e0a912107b2e#commitcomment-137656
This commit is contained in:
rick
2010-08-30 18:25:48 -07:00
parent bf37f44970
commit e0d234c255
3 changed files with 7 additions and 1 deletions
+1
View File
@@ -8,6 +8,7 @@
* Minor Enhancements
* Support a `:gollum_path` Sinatra setting for `Precious::App`
* Add Wiki#size to efficiently count pages without loading them.
* Add the correct content type when serving files from the frontend.
* Bug Fixes
* Increase minimum Sanitize version requirement to 1.1.0.
1.0.x versions of Sanitize require Hpricot instead of Nokogiri