Method: Mailboxer::Notification#mark_as_read

Defined in:
app/models/mailboxer/notification.rb

#mark_as_read(participant) ⇒ Object

Mark the notification as read



138
139
140
141
# File 'app/models/mailboxer/notification.rb', line 138

def mark_as_read(participant)
  return if participant.nil?
  receipt_for(participant).mark_as_read
end