method

with_defaults

rails latest stable - Class: ActionController::Renderer
with_defaults(defaults)
public

Creates a new renderer using the same controller, but with the given defaults merged on top of the previous defaults.