app/mailers/admin_mailer.rb
# Subject can be set in your I18n file at config/locales/en.yml
# with the following lookup:
#
#   en.admin_mailer.submission.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 submission(thing)
    @thing = thing
    mail to: "chapambrose@gmail.com",
         subject: "Somebody Submitted a #{thing.class.to_s}"
  end
def submission ( thing ) @thing = thing mail to : "chapambrose@gmail.com" , subject : "Somebody Submitted a #{thing.class.to_s}" 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 :
thing
<not_specific>