Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

search private / protected methods in trunk ruby

  • Loading branch information...
commit 3b824d66cd17965e3a9e76e36d569cf14463dcec 1 parent 0c0f278
@tenderlove tenderlove authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  actionpack/lib/action_controller/metal/responder.rb
View
2  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
Please sign in to comment.
Something went wrong with that request. Please try again.