Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
ojab authored and Alexander-Senko committed Aug 30, 2024
1 parent 9daf3ac commit 0bcc5b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/draper/helper_proxy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0bcc5b0

Please sign in to comment.