test/dummy/app/mailers/notifications.rb
# Subject can be set in your I18n file at config/locales/en.yml
# with the following lookup:
#
#   en.notifications.welcome.subject
#
Subject can be set in your I18n file at config/locales/en.yml
with the following lookup.


Subject can be set in your I18n file at config / locales / en . yml with the following lookup .
def welcome
    headers['X-Account-Id'] = '1'
    @greeting = "Hi"
    mail to: "to@example.org", subject: "Welcome"
  end
def welcome headers [ 'X-Account-Id' ] = '1' @greeting = "Hi" mail to : "to@example.org" , subject : "Welcome" end
Subject can be set in your I18n file at config/locales/en.yml
with the following lookup:
Subject can be set in your I18n file at config / locales / en . yml with the following lookup :