diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2015-01-09 13:11:51 -0200 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2015-01-09 13:11:51 -0200 |
commit | 6f9eab9ebe03cdb3bd0aa9a6e2b3ece0ed354311 (patch) | |
tree | e3d349ad02377a12412272cfbabbcb1feec30748 /actionmailer/lib | |
parent | 924ef1c79a62ab97fe0c747395aad07d886a96e2 (diff) | |
parent | 6870d48d193e9ef759ad870a705707003f26129a (diff) | |
download | rails-6f9eab9ebe03cdb3bd0aa9a6e2b3ece0ed354311.tar.gz rails-6f9eab9ebe03cdb3bd0aa9a6e2b3ece0ed354311.tar.bz2 rails-6f9eab9ebe03cdb3bd0aa9a6e2b3ece0ed354311.zip |
Merge pull request #18416 from caike/master
Add _mailer suffix to i18n path
Diffstat (limited to 'actionmailer/lib')
-rw-r--r-- | actionmailer/lib/rails/generators/mailer/templates/mailer.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionmailer/lib/rails/generators/mailer/templates/mailer.rb b/actionmailer/lib/rails/generators/mailer/templates/mailer.rb index b9be70a2f0..348d314758 100644 --- a/actionmailer/lib/rails/generators/mailer/templates/mailer.rb +++ b/actionmailer/lib/rails/generators/mailer/templates/mailer.rb @@ -5,7 +5,7 @@ class <%= class_name %>Mailer < ApplicationMailer # Subject can be set in your I18n file at config/locales/en.yml # with the following lookup: # - # en.<%= file_path.tr("/",".") %>.<%= action %>.subject + # en.<%= file_path.tr("/",".") %>_mailer.<%= action %>.subject # def <%= action %> @greeting = "Hi" |