Fix various rubocop warnings.

This commit is contained in:
evazion
2021-09-27 00:44:41 -05:00
parent a2a4ab887d
commit 79fdfa86ae
39 changed files with 149 additions and 154 deletions

View File

@@ -9,8 +9,8 @@ class Dmail < ApplicationRecord
has_many :moderation_reports, as: :model, dependent: :destroy
before_create :autoreport_spam
after_save :update_unread_dmail_count
after_destroy :update_unread_dmail_count
after_save :update_unread_dmail_count
after_commit :send_email, on: :create
deletable