class ActionController::Renderer
def with_defaults(defaults)
Creates a new renderer using the same controller, but with the given
def with_defaults(defaults) self.class.new controller, @env, @defaults.merge(defaults) end
def with_defaults(defaults) self.class.new controller, @env, @defaults.merge(defaults) end