aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVipul A M <vipulnsward@gmail.com>2019-07-30 02:37:28 +0800
committerGitHub <noreply@github.com>2019-07-30 02:37:28 +0800
commit8d2e75e84cf78123d5b89e7bab727ad7499ddfa4 (patch)
tree652b7b187cce1afe15cf4e87181d359ebbd15926
parent8b0b591296448dd4dff5b85dbbbaf35f01f31e69 (diff)
parent515238bc6c29f3b89234db3ebf2cd5af90f2663e (diff)
downloadrails-8d2e75e84cf78123d5b89e7bab727ad7499ddfa4.tar.gz
rails-8d2e75e84cf78123d5b89e7bab727ad7499ddfa4.tar.bz2
rails-8d2e75e84cf78123d5b89e7bab727ad7499ddfa4.zip
Merge pull request #36804 from vzvu3k6k/tt
[ci skip] Fix unclosed tags in `Inflector` docs
-rw-r--r--activesupport/lib/active_support/inflector/transliterate.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/inflector/transliterate.rb b/activesupport/lib/active_support/inflector/transliterate.rb
index 0751f8a3ad..3ba2d93ed8 100644
--- a/activesupport/lib/active_support/inflector/transliterate.rb
+++ b/activesupport/lib/active_support/inflector/transliterate.rb
@@ -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)