method
default_charset=
rails latest stable - Class:
ActionController::Compatibility
default_charset=(new_charset)public
No documentation available.
# File actionpack/lib/action_controller/metal/compatibility.rb, line 16
def self.default_charset=(new_charset)
ActiveSupport::Deprecation.warn "Setting default charset at controller level" " is deprecated, please use `config.action_dispatch.default_charset` instead", caller
ActionDispatch::Response.default_charset = new_charset
end