FEATURE: add staff action logs for watched words (#13574)

This commit is contained in:
Arpit Jalan
2021-06-30 11:22:46 +05:30
committed by GitHub
parent ddaa7cc7ea
commit 1ea2880276
7 changed files with 92 additions and 7 deletions

View File

@ -114,7 +114,9 @@ class UserHistory < ActiveRecord::Base
topic_archived: 93,
topic_unarchived: 94,
post_staff_note_create: 95,
post_staff_note_destroy: 96
post_staff_note_destroy: 96,
watched_word_create: 97,
watched_word_destroy: 98
)
end
@ -205,7 +207,9 @@ class UserHistory < ActiveRecord::Base
:topic_archived,
:topic_unarchived,
:post_staff_note_create,
:post_staff_note_destroy
:post_staff_note_destroy,
:watched_word_create,
:watched_word_destroy
]
end