Skip to content

Commit 0bcc5b0

Browse files
ojabAlexander-Senko
authored andcommitted
1 parent 9daf3ac commit 0bcc5b0

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
ruby2_keywords 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)