Skip to content

Commit

Permalink
no need to remove what is not there
Browse files Browse the repository at this point in the history
  • Loading branch information
SamSaffron committed Dec 31, 2013
1 parent 530b67a commit d150bc2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion config/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,9 @@ class Application < Rails::Application
# This is not really required per-se, but we do not want to support
# XML params, we see errors in our logs about malformed XML and there
# absolutly no spot in our app were we use XML as opposed to JSON endpoints
ActionDispatch::ParamsParser::DEFAULT_PARSERS.delete(Mime::XML)
#
# Rails 4 no longer includes this by default
ActionDispatch::ParamsParser::DEFAULT_PARSERS.delete(Mime::XML) unless rails4?

if ENV['RBTRACE'] == "1"
require 'rbtrace'
Expand Down

0 comments on commit d150bc2

Please sign in to comment.