11549: Fix container requests so it doesn't mount each file individually,
[arvados.git] / services / api / config / initializers / noop_deep_munge.rb
1 module ActionDispatch
2   class Request < Rack::Request
3     # This Rails method messes with valid JSON, for example turning the empty
4     # array [] into 'nil'.  We don't want that, so turn it into a no-op.
5     def deep_munge(hash)
6       hash
7     end
8   end
9 end