Commit d85b8896 authored by Kamil Trzcinski's avatar Kamil Trzcinski

Remove unused mime_types

parent 9243b6d0
......@@ -8,10 +8,3 @@ 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
#Mime::Type.unregister :json
Mime::Type.register_alias 'application/vnd.docker.distribution.manifest.v1+prettyjws', :json
#Mime::Type.register 'application/json', :json, %w( text/plain text/x-json application/jsonrequest )
ActionDispatch::ParamsParser::DEFAULT_PARSERS[Mime::Type.lookup('application/vnd.docker.distribution.manifest.v1+prettyjws')]=lambda do |body|
JSON.parse(body)
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment