Merge pull request #36804 from vzvu3k6k/tt

[ci skip] Fix unclosed tags in `Inflector` docs
This commit is contained in:
Vipul A M 2019-07-30 02:37:28 +08:00 committed by GitHub
commit 8d2e75e84c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -116,7 +116,7 @@ module ActiveSupport
# If the optional parameter +locale+ is specified,
# the word will be parameterized as a word of that language.
# By default, this parameter is set to <tt>nil</tt> and it will use
# the configured <tt>I18n.locale<tt>.
# the configured <tt>I18n.locale</tt>.
def parameterize(string, separator: "-", preserve_case: false, locale: nil)
# Replace accented chars with their ASCII equivalents.
parameterized_string = transliterate(string, locale: locale)