method

default_charset=

rails latest stable - Class: ActionController::Compatibility

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v3.2.13) is shown here.

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