Skip to content

Commit fc77696

Browse files
authored
1 parent 3e7faa4 commit fc77696

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/draper/helper_proxy.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ def initialize(view_context)
1010
# Sends helper methods to the view context.
1111
def method_missing(method, *args, &block)
1212
self.class.define_proxy method
13-
send(method, *args, &block)
13+
view_context.send(method, *args, &block)
1414
end
1515

1616
# Checks if the context responds to an instance method, or is able to

0 commit comments

Comments
 (0)