This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
AI开发
Register
Sign In
Gitlink
/
forgeplus
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
16
Wiki
evaluate
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
HPC
Browse Source
fix
tags/v4.0.0
yystopf
4 years ago
parent
1dcc38f617
commit
0885b7d75d
1 changed files
with
0 additions
and
4 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+0
-4
app/models/system_notification.rb
+ 0
- 4
app/models/system_notification.rb
View File
@@ -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
Write
Preview
Loading…
Cancel
Save