Class: Decidim::UserUpdateMailer
- Inherits:
-
ApplicationMailer
- Object
- ActionMailer::Base
- ApplicationMailer
- Decidim::UserUpdateMailer
- Defined in:
- decidim-core/app/mailers/decidim/user_update_mailer.rb
Instance Method Summary collapse
Instance Method Details
#notify(user, updates) ⇒ Object
5 6 7 8 9 10 11 12 13 14 |
# File 'decidim-core/app/mailers/decidim/user_update_mailer.rb', line 5 def notify(user, updates) with_user(user) do @user = user @organization = user.organization @updates = format_array(updates) mail(to: user.email, subject: I18n.t( "decidim.user_update_mailer.subject" )) end end |