Skip to content

Commit

Permalink
Update respond_to? API
Browse files Browse the repository at this point in the history
  • Loading branch information
parndt committed Feb 23, 2016
1 parent 94657b0 commit 18b92db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/app/presenters/refinery/base_presenter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ def method_missing(method, *args)
end
end

def respond_to?(method)
super || @model.respond_to?(method) || DEFAULT_FIELDS.has_key?(method)
def respond_to?(method, include_all = false)
super || @model.respond_to?(method, include_all) || DEFAULT_FIELDS.has_key?(method)
end

end
Expand Down

0 comments on commit 18b92db

Please sign in to comment.