1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Merge pull request #29918 from xtina-starr/suppress-warning-from-actionview-controller-helper

Suppress warning from actionview controller helper.
This commit is contained in:
Rafael França 2017-07-24 16:40:32 -04:00 committed by GitHub
commit 8b67e98a49

View file

@ -13,7 +13,7 @@ module ActionView
:session, :cookies, :response, :headers, :flash, :action_name,
:controller_name, :controller_path]
delegate *CONTROLLER_DELEGATES, to: :controller
delegate(*CONTROLLER_DELEGATES, to: :controller)
def assign_controller(controller)
if @_controller = controller