Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
ojab committed Jan 22, 2021
1 parent da6cd97 commit d168f0f
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.
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 d168f0f

Please sign in to comment.