diff options
author | Rafael França <rafaelmfranca@gmail.com> | 2017-07-24 16:40:32 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-24 16:40:32 -0400 |
commit | 8b67e98a49e84d1814b79b3f7de0281ecdaed1a9 (patch) | |
tree | 9371c3a19e8d6b9172eb71c501cb9c2be83e4dae /actionview | |
parent | 9c35bf2a6a27431c6aa283db781c19f61c5155be (diff) | |
parent | 6ac1cf394bd71e464cfd2e8b2b6736cfa6a222fc (diff) | |
download | rails-8b67e98a49e84d1814b79b3f7de0281ecdaed1a9.tar.gz rails-8b67e98a49e84d1814b79b3f7de0281ecdaed1a9.tar.bz2 rails-8b67e98a49e84d1814b79b3f7de0281ecdaed1a9.zip |
Merge pull request #29918 from xtina-starr/suppress-warning-from-actionview-controller-helper
Suppress warning from actionview controller helper.
Diffstat (limited to 'actionview')
-rw-r--r-- | actionview/lib/action_view/helpers/controller_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionview/lib/action_view/helpers/controller_helper.rb b/actionview/lib/action_view/helpers/controller_helper.rb index 8e7d896347..00d8b9665d 100644 --- a/actionview/lib/action_view/helpers/controller_helper.rb +++ b/actionview/lib/action_view/helpers/controller_helper.rb @@ -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 |