diff options
| author | Xinhui | 2017-07-10 13:41:03 +0200 | 
|---|---|---|
| committer | Xinhui | 2017-07-10 13:41:09 +0200 | 
| commit | 9559d8297d5d49145b866367c0e8c3d69e045adf (patch) | |
| tree | 93989edf9ca99225f4a15dcf88f68fd3bed3953a /app/mailers | |
| parent | 2aa97e30b4971aa06ba4d5ae16d5ce66d2b10e9e (diff) | |
| download | chouette-core-9559d8297d5d49145b866367c0e8c3d69e045adf.tar.bz2 | |
Templating CalendarMailer
Refs #2263
Diffstat (limited to 'app/mailers')
| -rw-r--r-- | app/mailers/calendar_mailer.rb | 2 | 
1 files changed, 2 insertions, 0 deletions
| diff --git a/app/mailers/calendar_mailer.rb b/app/mailers/calendar_mailer.rb index 44dcaea88..cc8175a07 100644 --- a/app/mailers/calendar_mailer.rb +++ b/app/mailers/calendar_mailer.rb @@ -1,9 +1,11 @@  class CalendarMailer < ApplicationMailer    def updated calendar, user +    @calendar = calendar      mail to: user.email, subject: t('mailers.calendar_mailer.updated.subject')    end    def created calendar, user +    @calendar = calendar      mail to: user.email, subject: t('mailers.calendar_mailer.created.subject')    end  end | 
