style(rubocop): Lint/UselessAssignment

This commit is contained in:
Adam Cooke
2024-02-10 17:18:24 +00:00
parent 25d7d66b47
commit 7590a46234
12 changed files with 18 additions and 20 deletions
+1 -1
View File
@@ -50,7 +50,7 @@ class Organization < ApplicationRecord
has_many :ip_pool_rules, dependent: :destroy, as: :owner
after_create do
if pool = IPPool.default
if IPPool.default
ip_pools << IPPool.default
end
end