summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2015-04-11 16:46:36 -0400
committerRobert Speicher <rspeicher@gmail.com>2015-04-15 12:25:24 -0400
commit1e27b68b364cfc0b504e7db429c2450d75b72cfd (patch)
tree4a295cdab0874c38b32378404f668a45ab1edb30 /config
parentef47ea3d39d9235c2842d1f374d0f03e56da7eeb (diff)
downloadgitlab-ce-1e27b68b364cfc0b504e7db429c2450d75b72cfd.tar.gz
Add Markdown to Mime types
Diffstat (limited to 'config')
-rw-r--r--config/initializers/mime_types.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/config/initializers/mime_types.rb b/config/initializers/mime_types.rb
index 8f8bef42bef..ca58ae92d1b 100644
--- a/config/initializers/mime_types.rb
+++ b/config/initializers/mime_types.rb
@@ -6,3 +6,5 @@
Mime::Type.register_alias "text/plain", :diff
Mime::Type.register_alias "text/plain", :patch
+Mime::Type.register_alias 'text/html', :markdown
+Mime::Type.register_alias 'text/html', :md