aboutsummaryrefslogtreecommitdiffstats
path: root/actionmailer
diff options
context:
space:
mode:
authorCarlos Souza <carloshrsouza@gmail.com>2015-01-08 22:24:22 -0500
committerCarlos Souza <carloshrsouza@gmail.com>2015-01-08 22:24:22 -0500
commit6870d48d193e9ef759ad870a705707003f26129a (patch)
treeadad372db3147d1ba7c07a822f044457a5da5074 /actionmailer
parenta74041d483041345454e766c506dab1b567dec0d (diff)
downloadrails-6870d48d193e9ef759ad870a705707003f26129a.tar.gz
rails-6870d48d193e9ef759ad870a705707003f26129a.tar.bz2
rails-6870d48d193e9ef759ad870a705707003f26129a.zip
Add _mailer suffix to i18n path
For mailers created via generators Follow up to #18074
Diffstat (limited to 'actionmailer')
-rw-r--r--actionmailer/lib/rails/generators/mailer/templates/mailer.rb2
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"