diff --git a/actionpack/lib/action_controller/mime_responds.rb b/actionpack/lib/action_controller/mime_responds.rb index e297cf8b07..9e598a8bdc 100644 --- a/actionpack/lib/action_controller/mime_responds.rb +++ b/actionpack/lib/action_controller/mime_responds.rb @@ -137,7 +137,7 @@ module ActionController #:nodoc: end def any(*args, &block) - args.each { |type| send(type, &block) } + args.each { |type| known(type, &block) } end def respond