Sha256: 7b85a974ea890b9f31029b2992444b72c35b5d8980925495558e7df7096f3976
Contents?: true
Size: 710 Bytes
Versions: 2
Compression:
Stored size: 710 Bytes
Contents
module ThinkFeelDoEngine # Mailer for notifying of new application messages. class MessageNotifications < ActionMailer::Base def new_for_coach(coach, group) application_name = I18n.t(:application_name, default: "ThinkFeelDo") @group = group mail to: coach.email, subject: "#{application_name}: New message" end def new_for_participant(participant) @context_name = participant .current_group .arm .bit_core_tools .find_by_type("Tools::Messages") .title mail to: participant.email, subject: "New message" end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
think_feel_do_engine-3.19.5 | app/mailers/think_feel_do_engine/message_notifications.rb |
think_feel_do_engine-3.19.4 | app/mailers/think_feel_do_engine/message_notifications.rb |