From 180edf4146fcfabd2e0573e451adcfa9e781bd63 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Fri, 2 Jun 2006 04:30:43 +0000 Subject: [PATCH] Make new mime types first class [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4408 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- actionpack/lib/action_controller/mime_responds.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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