aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael França <rafaelmfranca@gmail.com>2017-07-24 16:40:32 -0400
committerGitHub <noreply@github.com>2017-07-24 16:40:32 -0400
commit8b67e98a49e84d1814b79b3f7de0281ecdaed1a9 (patch)
tree9371c3a19e8d6b9172eb71c501cb9c2be83e4dae
parent9c35bf2a6a27431c6aa283db781c19f61c5155be (diff)
parent6ac1cf394bd71e464cfd2e8b2b6736cfa6a222fc (diff)
downloadrails-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.
-rw-r--r--actionview/lib/action_view/helpers/controller_helper.rb2
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