Permalink
Browse files

deprecate Base#assign_default_content_type_and_charset

  • Loading branch information...
1 parent f8f0779 commit b99442933d9a4ffa7793d2cb2f73b2e9f22d2605 @jeremy jeremy committed Aug 22, 2008
Showing with 5 additions and 0 deletions.
  1. +5 −0 actionpack/lib/action_controller/base.rb
@@ -1218,6 +1218,11 @@ def assign_names
@action_name = (params['action'] || 'index')
end
+ def assign_default_content_type_and_charset
+ response.assign_default_content_type_and_charset!
+ end
+ deprecate :assign_default_content_type_and_charset => :'response.assign_default_content_type_and_charset!'
+
def action_methods
self.class.action_methods
end

0 comments on commit b994429

Please sign in to comment.