aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller/metal/helpers.rb
diff options
context:
space:
mode:
authorAaron Patterson <tenderlove@github.com>2019-01-30 11:57:47 -0800
committerGitHub <noreply@github.com>2019-01-30 11:57:47 -0800
commit535a8b995700a5875a898691b19b88969c22d264 (patch)
tree536c260987f394bbcb650c20fe401b89ec30443a /actionpack/lib/action_controller/metal/helpers.rb
parent8ca6bd2e942f9a2652ec20c0c419e9b08f25c2e1 (diff)
parente17fe52e0e0ef0842b6c409e1110a862c4e005bc (diff)
downloadrails-535a8b995700a5875a898691b19b88969c22d264.tar.gz
rails-535a8b995700a5875a898691b19b88969c22d264.tar.bz2
rails-535a8b995700a5875a898691b19b88969c22d264.zip
Merge pull request #35093 from rails/av-base-constructor
Tighten up the AV::Base constructor
Diffstat (limited to 'actionpack/lib/action_controller/metal/helpers.rb')
-rw-r--r--actionpack/lib/action_controller/metal/helpers.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/metal/helpers.rb b/actionpack/lib/action_controller/metal/helpers.rb
index 0faaac1ce4..f1fb7ab0f7 100644
--- a/actionpack/lib/action_controller/metal/helpers.rb
+++ b/actionpack/lib/action_controller/metal/helpers.rb
@@ -75,7 +75,7 @@ module ActionController
# Provides a proxy to access helper methods from outside the view.
def helpers
@helper_proxy ||= begin
- proxy = ActionView::Base.new
+ proxy = ActionView::Base.empty
proxy.config = config.inheritable_copy
proxy.extend(_helpers)
end