chore: General fixes and clean up (#1169)

This commit is contained in:
Sojan Jose
2020-08-25 23:04:02 +05:30
committed by GitHub
parent 124e43b477
commit 2193de9853
23 changed files with 111 additions and 121 deletions

View File

@@ -16,8 +16,6 @@
class Account < ApplicationRecord
# used for single column multi flags
include FlagShihTzu
include Events::Types
include Reportable
include Featurable
@@ -54,7 +52,7 @@ class Account < ApplicationRecord
enum locale: LANGUAGES_CONFIG.map { |key, val| [val[:iso_639_1_code], key] }.to_h
after_create :notify_creation
after_create_commit :notify_creation
after_destroy :notify_deletion
def agents