mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-03 11:50:49 +08:00
fix
This commit is contained in:
@@ -17,8 +17,4 @@ class SystemNotification < ApplicationRecord
|
||||
|
||||
scope :is_top, lambda { where(is_top: true) }
|
||||
|
||||
|
||||
def read_member?(user_id)
|
||||
self.system_notification_histories.where(user_id: user_id).present? ? true : false
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user