mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
57bfbc249e
# config/locales/en.yml en: user_mailer: welcome: subject: 'Hello, %{username}' # app/mailers/user_mailer.rb class UserMailer < ActionMailer::Base def welcome(user) mail(subject: default_i18n_subject(username: user.name)) end end |
||
---|---|---|
.. | ||
asset_mailer.rb | ||
base_mailer.rb | ||
proc_mailer.rb |