Permalink
Browse files

search private / protected methods in trunk ruby

  • Loading branch information...
1 parent a786236 commit da7d0a26a15da242689068173faaf54f78d15782 @tenderlove tenderlove committed Feb 20, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/lib/action_controller/metal/responder.rb
@@ -272,7 +272,7 @@ def default_action
# Check whether resource needs a specific definition of empty resource to be valid
#
def has_empty_resource_definition?
- respond_to?("empty_#{format}_resource")
+ respond_to?("empty_#{format}_resource", true)
end
# Delegate to proper empty resource method

0 comments on commit da7d0a2

Please sign in to comment.