Skip to content

Commit 6a8174f

Browse files
committed
Appease Rubocop once more
1 parent 7b3e09f commit 6a8174f

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

app/models/work.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -379,18 +379,18 @@ def destroy_chapters_in_reverse
379379

380380
after_destroy :clean_up_assignments
381381
def clean_up_assignments
382-
self.challenge_assignments.each { |a|
382+
self.challenge_assignments.each do |a|
383383
a.creation = nil
384384
a.save!
385-
}
385+
end
386386
end
387387

388388
after_destroy :clean_up_claims
389389
def clean_up_claims
390-
self.challenge_claims.each { |a|
390+
self.challenge_claims.each do |a|
391391
a.creation = nil
392392
a.save!
393-
}
393+
end
394394
end
395395

396396
########################################################################

0 commit comments

Comments
 (0)