diff options
author | Pratik Naik <pratiknaik@gmail.com> | 2008-11-19 22:25:08 +0530 |
---|---|---|
committer | Pratik Naik <pratiknaik@gmail.com> | 2008-11-19 22:25:08 +0530 |
commit | aeae79dc450598d2e12d5b38472d6dd2b1a4abd7 (patch) | |
tree | 02bef5b4700a0bec0253a299d5d8cadf3a780227 | |
parent | 9c3c42d8ea489ff50fceebe0d37c86f9291fece5 (diff) | |
download | rails-aeae79dc450598d2e12d5b38472d6dd2b1a4abd7.tar.gz rails-aeae79dc450598d2e12d5b38472d6dd2b1a4abd7.tar.bz2 rails-aeae79dc450598d2e12d5b38472d6dd2b1a4abd7.zip |
Remove deprecated ActionController::Base#assign_default_content_type_and_charset
-rw-r--r-- | actionpack/CHANGELOG | 2 | ||||
-rw-r--r-- | actionpack/lib/action_controller/base.rb | 5 |
2 files changed, 2 insertions, 5 deletions
diff --git a/actionpack/CHANGELOG b/actionpack/CHANGELOG index 6df755dd9e..40655c6577 100644 --- a/actionpack/CHANGELOG +++ b/actionpack/CHANGELOG @@ -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" %> diff --git a/actionpack/lib/action_controller/base.rb b/actionpack/lib/action_controller/base.rb index bffe6efa15..ad6562024a 100644 --- a/actionpack/lib/action_controller/base.rb +++ b/actionpack/lib/action_controller/base.rb @@ -1270,11 +1270,6 @@ module ActionController #:nodoc: @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 |