Sha256: c94bd48b642e5d6e54fe4fec40d07277a36b578706e4e315925fba9dd28b4656
Contents?: true
Size: 696 Bytes
Versions: 7
Compression:
Stored size: 696 Bytes
Contents
# frozen_string_literal: true module Hyrax module Workflow class ChangesRequiredNotification < AbstractNotification private def subject I18n.t('hyrax.notifications.workflow.changes_required.subject') end def message I18n.t('hyrax.notifications.workflow.changes_required.message', title: title, link: (link_to work_id, document_path), comment: comment) end def users_to_notify user_key = document.depositor super << ::User.find_by(email: user_key) end end end end
Version data entries
7 entries across 7 versions & 1 rubygems