Sha256: 594566ecc9285476f2a2755034d05f7d5498ea2a84ab8995e1bbca40a8999b00
Contents?: true
Size: 481 Bytes
Versions: 6
Compression:
Stored size: 481 Bytes
Contents
# frozen_string_literal: true module Decidim module ReportingProposals module CreateReportOverride extend ActiveSupport::Concern included do def send_hide_notification_to_moderators participatory_space_moderators.each do |moderator| next unless moderator.email_on_moderations ReportedMailer.hide(moderator, @report).deliver_later unless @current_user == moderator end end end end end end
Version data entries
6 entries across 6 versions & 1 rubygems