Skip to content
Browse files

Make new mime types first class [DHH]

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4408 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent 5e998d1 commit 180edf4146fcfabd2e0573e451adcfa9e781bd63 @dhh dhh committed Jun 2, 2006
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/lib/action_controller/mime_responds.rb
View
2 actionpack/lib/action_controller/mime_responds.rb
@@ -137,7 +137,7 @@ def known(mime_type_extension, &block)
end
def any(*args, &block)
- args.each { |type| send(type, &block) }
+ args.each { |type| known(type, &block) }
end
def respond

0 comments on commit 180edf4

Please sign in to comment.
Something went wrong with that request. Please try again.