Skip to content

Commit e3941db

Browse files
Use autolink instead of explicit link [ci-skip]
1 parent e797126 commit e3941db

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

actionview/lib/action_view/helpers/output_safety_helper.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,7 @@ def safe_join(array, sep = $,)
3838

3939
# Converts the array to a comma-separated sentence where the last element is
4040
# joined by the connector word. This is the html_safe-aware version of
41-
# ActiveSupport's {Array#to_sentence}[https://api.rubyonrails.org/classes/Array.html#method-i-to_sentence].
42-
#
41+
# ActiveSupport's Array#to_sentence.
4342
def to_sentence(array, options = {})
4443
options.assert_valid_keys(:words_connector, :two_words_connector, :last_word_connector, :locale)
4544

0 commit comments

Comments
 (0)