We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3e7faa4 commit fc77696Copy full SHA for fc77696
lib/draper/helper_proxy.rb
@@ -10,7 +10,7 @@ def initialize(view_context)
10
# Sends helper methods to the view context.
11
def method_missing(method, *args, &block)
12
self.class.define_proxy method
13
- send(method, *args, &block)
+ view_context.send(method, *args, &block)
14
end
15
16
# Checks if the context responds to an instance method, or is able to
0 commit comments