method

normalize_keys

Importance_0
v5.2.3 - Show latest stable - 0 notes - Class: Renderer
normalize_keys(env) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionpack/lib/action_controller/renderer.rb, line 87 def normalize_keys(env) new_env = {} env.each_pair { |k, v| new_env[rack_key_for(k)] = rack_value_for(k, v) } new_env["rack.url_scheme"] = new_env["HTTPS"] == "on" ? "https" : "http" new_env end
Register or log in to add new notes.