mirror of https://github.com/rails/rails
Merge pull request #36804 from vzvu3k6k/tt
[ci skip] Fix unclosed tags in `Inflector` docs
This commit is contained in:
commit
8d2e75e84c
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue