diff --git a/lib/draper/helper_proxy.rb b/lib/draper/helper_proxy.rb index 9f9a267d..7003d584 100644 --- a/lib/draper/helper_proxy.rb +++ b/lib/draper/helper_proxy.rb @@ -10,7 +10,7 @@ def initialize(view_context) # Sends helper methods to the view context. ruby2_keywords def method_missing(method, *args, &block) self.class.define_proxy method - send(method, *args, &block) + view_context.send(method, *args, &block) end # Checks if the context responds to an instance method, or is able to