method
new
rails latest stable - Class:
ActionController::Renderer
new(env = nil)public
Creates a new renderer using the same controller, but with a new Rack env.
ApplicationController.renderer.new(method: "post")
new(env = nil)Creates a new renderer using the same controller, but with a new Rack env.
ApplicationController.renderer.new(method: "post")