From: Tom Hughes Date: Mon, 30 Mar 2015 20:19:44 +0000 (+0100) Subject: Remove workaround for fixed bug in passenger X-Git-Tag: live~4677 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/b78241de6833b6e0725335b7b473ec6b453c5467 Remove workaround for fixed bug in passenger --- diff --git a/config/initializers/rack_request.rb b/config/initializers/rack_request.rb deleted file mode 100644 index c5643d75d..000000000 --- a/config/initializers/rack_request.rb +++ /dev/null @@ -1,10 +0,0 @@ -# Hack to workaround https://github.com/phusion/passenger/issues/1421 -if defined?(PhusionPassenger) - module Rack - class Request - def port - DEFAULT_PORTS[scheme] - end - end - end -end