Permalink
Browse files

search private / protected methods in trunk ruby

  • Loading branch information...
1 parent 0c0f278 commit 3b824d66cd17965e3a9e76e36d569cf14463dcec @tenderlove tenderlove committed Feb 20, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/lib/action_controller/metal/responder.rb
@@ -267,7 +267,7 @@ def default_action
end
def resource_errors
- respond_to?("#{format}_resource_errors") ? send("#{format}_resource_errors") : resource.errors
+ respond_to?("#{format}_resource_errors", true) ? send("#{format}_resource_errors") : resource.errors
end
def json_resource_errors

0 comments on commit 3b824d6

Please sign in to comment.