aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/lib/action_view/helpers/controller_helper.rb
diff options
context:
space:
mode:
Diffstat (limited to 'actionview/lib/action_view/helpers/controller_helper.rb')
-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