Skip to content

Commit cc095db

Browse files
committed
Update quality_checks.rb
1 parent 0fd9c9e commit cc095db

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/models/name/quality_checks.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ class QcWarning
179179
similar_names_validly_published: {
180180
message: lambda { |w|
181181
similar = w.name.similar_names(:valid).limit(5)
182-
.map { |i| link_to(name.reload) }
182+
.map { |name| link_to(name.reload) }
183183
<<~MSG.html_safe
184184
Name is similar in spelling to: #{similar.to_sentence}.
185185
Consider variations that are less prone to confusion

0 commit comments

Comments
 (0)