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 |
||
---|---|---|
.. | ||
fixtures | ||
mailers | ||
abstract_unit.rb | ||
asset_host_test.rb | ||
base_test.rb | ||
delivery_methods_test.rb | ||
i18n_with_controller_test.rb | ||
log_subscriber_test.rb | ||
mail_helper_test.rb | ||
mail_layout_test.rb | ||
test_helper_test.rb | ||
test_test.rb | ||
url_test.rb |