Permalink
Browse files

Remove deprecated ActionController::Base#assign_default_content_type_…

…and_charset
  • Loading branch information...
lifo committed Nov 19, 2008
1 parent 9c3c42d commit aeae79dc450598d2e12d5b38472d6dd2b1a4abd7
Showing with 2 additions and 5 deletions.
  1. +2 −0 actionpack/CHANGELOG
  2. +0 −5 actionpack/lib/action_controller/base.rb
View
@@ -1,5 +1,7 @@
*2.3.0 [Edge]*
+* Remove deprecated ActionController::Base#assign_default_content_type_and_charset
+
* Changed the default of ActionView#render to assume partials instead of files when not given an options hash [DHH]. Examples:
# Instead of <%= render :partial => "account" %>
@@ -1270,11 +1270,6 @@ 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 aeae79d

Please sign in to comment.