method
new
v7.1.3.4 -
Show 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")