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:
commit
8b67e98a49
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue