Sha256: 15f4a9394788bfeaf38bd3f7dd499fd90c6bd4f6da88696b74f22943ffb59c32
Contents?: true
Size: 599 Bytes
Versions: 22
Compression:
Stored size: 599 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_user_key(user_key) end end end end
Version data entries
22 entries across 22 versions & 1 rubygems