generic_url_rewriter()
Get a temporary URL writer object
# File actionpack/lib/action_controller/integration.rb, line 328 def generic_url_rewriter cgi = StubCGI.new('REQUEST_METHOD' => "GET", 'QUERY_STRING' => "", "REQUEST_URI" => "/", "HTTP_HOST" => host, "SERVER_PORT" => https? ? "443" : "80", "HTTPS" => https? ? "on" : "off") ActionController::UrlRewriter.new(ActionController::CgiRequest.new(cgi), {}) end