style(rubocop): Lint/UnusedBlockArgument

This commit is contained in:
Adam Cooke
2024-02-10 17:20:13 +00:00
parent 7590a46234
commit ee94e4e1a0
8 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -85,7 +85,7 @@ class Domain < ApplicationRecord
def parent_domains
parts = name.split(".")
parts[0, parts.size - 1].each_with_index.map do |p, i|
parts[0, parts.size - 1].each_with_index.map do |_, i|
parts[i..-1].join(".")
end
end