Skip to content
This repository
Browse code

Remove deprecated ActionController::Base#assign_default_content_type_…

…and_charset
  • Loading branch information...
commit aeae79dc450598d2e12d5b38472d6dd2b1a4abd7 1 parent 9c3c42d
Pratik authored November 19, 2008
2  actionpack/CHANGELOG
... ...
@@ -1,5 +1,7 @@
1 1
 *2.3.0 [Edge]*
2 2
 
  3
+* Remove deprecated ActionController::Base#assign_default_content_type_and_charset
  4
+
3 5
 * Changed the default of ActionView#render to assume partials instead of files when not given an options hash [DHH]. Examples:
4 6
 
5 7
     # Instead of <%= render :partial => "account" %>
5  actionpack/lib/action_controller/base.rb
@@ -1270,11 +1270,6 @@ def assign_names
1270 1270
         @action_name = (params['action'] || 'index')
1271 1271
       end
1272 1272
 
1273  
-      def assign_default_content_type_and_charset
1274  
-        response.assign_default_content_type_and_charset!
1275  
-      end
1276  
-      deprecate :assign_default_content_type_and_charset => :'response.assign_default_content_type_and_charset!'
1277  
-
1278 1273
       def action_methods
1279 1274
         self.class.action_methods
1280 1275
       end

0 notes on commit aeae79d

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