mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
fix method name in Renderer
doc [ci skip]
`ActionController::Renderer.defaults` was removed in 2db7304
This commit is contained in:
parent
9ae511f550
commit
67471a28f5
1 changed files with 2 additions and 1 deletions
|
@ -60,7 +60,8 @@ module ActionController
|
|||
end
|
||||
|
||||
# Accepts a custom Rack environment to render templates in.
|
||||
# It will be merged with ActionController::Renderer.defaults
|
||||
# It will be merged with the default Rack environment defined by
|
||||
# +ActionController::Renderer::DEFAULTS+.
|
||||
def initialize(controller, env, defaults)
|
||||
@controller = controller
|
||||
@defaults = defaults
|
||||
|
|
Loading…
Reference in a new issue