diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2008-12-28 20:53:58 +0100 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2008-12-28 20:53:58 +0100 |
commit | 0efec64520d5153e5a961f9a759883656b83bb53 (patch) | |
tree | 31bc504daa1318cb73659e7df01c8ab885e3495f /actionpack/lib/action_controller/mime_responds.rb | |
parent | 66ee5890c5f21995b7fe0c486547f1287afe2b55 (diff) | |
parent | a2270ef2594b97891994848138614657363f2806 (diff) | |
download | rails-0efec64520d5153e5a961f9a759883656b83bb53.tar.gz rails-0efec64520d5153e5a961f9a759883656b83bb53.tar.bz2 rails-0efec64520d5153e5a961f9a759883656b83bb53.zip |
Merge branch 'master' of git@github.com:rails/rails
Diffstat (limited to 'actionpack/lib/action_controller/mime_responds.rb')
-rw-r--r-- | actionpack/lib/action_controller/mime_responds.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/actionpack/lib/action_controller/mime_responds.rb b/actionpack/lib/action_controller/mime_responds.rb index 55cb212a10..b755363873 100644 --- a/actionpack/lib/action_controller/mime_responds.rb +++ b/actionpack/lib/action_controller/mime_responds.rb @@ -148,9 +148,9 @@ module ActionController #:nodoc: sym = mime.is_a?(Symbol) ? mime : mime.to_sym const = sym.to_s.upcase class_eval <<-RUBY, __FILE__, __LINE__ + 1 - def #{sym}(&block) # def html(&block) - custom(Mime::#{const}, &block) # custom(Mime::HTML, &block) - end # end + def #{sym}(&block) # def html(&block) + custom(Mime::#{const}, &block) # custom(Mime::HTML, &block) + end # end RUBY end |