aboutsummaryrefslogtreecommitdiffstats
path: root/actionmailer/lib/rails/generators/mailer
diff options
context:
space:
mode:
authorAditya Sanghi <asanghi@me.com>2010-10-05 21:01:01 +0530
committerMikel Lindsaar <raasdnil@gmail.com>2010-10-06 19:45:13 +1100
commit990719bb59b89c614ec81aa25f2fc83f3323c9ea (patch)
tree00792ed6a735125cb400f35d8d4dfab022d0fc30 /actionmailer/lib/rails/generators/mailer
parent19a5f99685ab9f0a60bb8c1ed2a3fdb40b2e762e (diff)
downloadrails-990719bb59b89c614ec81aa25f2fc83f3323c9ea.tar.gz
rails-990719bb59b89c614ec81aa25f2fc83f3323c9ea.tar.bz2
rails-990719bb59b89c614ec81aa25f2fc83f3323c9ea.zip
mailer comment should use namespace in comment
Diffstat (limited to 'actionmailer/lib/rails/generators/mailer')
-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 4d21c65101..370a508cad 100644
--- a/actionmailer/lib/rails/generators/mailer/templates/mailer.rb
+++ b/actionmailer/lib/rails/generators/mailer/templates/mailer.rb
@@ -6,7 +6,7 @@ class <%= class_name %> < ActionMailer::Base
# Subject can be set in your I18n file at config/locales/en.yml
# with the following lookup:
#
- # en.<%= file_name %>.<%= action %>.subject
+ # en.<%= file_path.gsub("/",".") %>.<%= action %>.subject
#
def <%= action %>
@greeting = "Hi"