# File lib/gon/env_finder.rb, line 8 def controller_env(options = {}) options[:controller] || ( current_gon && current_gon.env[ENV_CONTROLLER_KEY] || current_gon.env[ENV_RESPONSE_KEY]. instance_variable_get('@template'). instance_variable_get('@controller') ) end