diff --git a/app/models/notification.rb b/app/models/notification.rb index deaa9934a..ecc60eda0 100644 --- a/app/models/notification.rb +++ b/app/models/notification.rb @@ -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) }