1
0
Fork 0
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:
yuuji.yaginuma 2017-01-12 20:52:07 +09:00
parent 9ae511f550
commit 67471a28f5

View file

@ -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