Style
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
class Notification < ApplicationRecord
|
||||
belongs_to :user
|
||||
belongs_to :creator, class_name: 'User'
|
||||
belongs_to :creator, class_name: "User"
|
||||
belongs_to :resource, polymorphic: true
|
||||
|
||||
scope :unread, -> { where(read: false) }
|
||||
|
||||
Reference in New Issue
Block a user