More code style fixes

This commit is contained in:
Jyri-Petteri Paloposki 2020-10-27 21:39:19 +02:00
parent 465419f46a
commit d4c9041ccd
61 changed files with 406 additions and 422 deletions

View file

@ -8,6 +8,6 @@ class Tagging < ApplicationRecord
private
def delete_orphaned_tag
tag.destroy if tag and tag.taggings.count == 0
tag.destroy if tag && tag.taggings.count == 0
end
end