mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Response#charset=
uses default_charset
when nil
is passed
This commit is contained in:
parent
58f10a31b3
commit
5e989027e0
1 changed files with 1 additions and 1 deletions
|
@ -252,7 +252,7 @@ module ActionDispatch # :nodoc:
|
|||
end
|
||||
|
||||
# Sets the HTTP character set. In case of +nil+ parameter
|
||||
# it sets the charset to utf-8.
|
||||
# it sets the charset to +default_charset+.
|
||||
#
|
||||
# response.charset = 'utf-16' # => 'utf-16'
|
||||
# response.charset = nil # => 'utf-8'
|
||||
|
|
Loading…
Reference in a new issue