discourse/app/models/shelved_notification.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
205 B
Ruby
Raw Normal View History

# frozen_string_literal: true
class ShelvedNotification < ActiveRecord::Base
belongs_to :notification
def process
NotificationEmailer.process_notification(notification, no_delay: true)
end
end