mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-09-21 07:26:15 +08:00
5 lines
150 B
Ruby
5 lines
150 B
Ruby
class Notification < ActiveRecord::Base
|
|
has_many :user_notifications, inverse_of: :notification
|
|
has_many :users, through: :user_notifications
|
|
end
|