diff options
author | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2015-03-15 08:57:06 +0900 |
---|---|---|
committer | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2015-03-15 08:57:06 +0900 |
commit | 5f6fc9e389e90d44cf07318f0c3c51a12dfcb6a5 (patch) | |
tree | 83d65ddecc1776a98d13ffaee8ffba7d9c6d8cc9 /railties/lib/rails/generators/test_unit/mailer/templates/preview.rb | |
parent | 5f6dab2270ef11081b2ceb70c630910cf071eede (diff) | |
download | rails-5f6fc9e389e90d44cf07318f0c3c51a12dfcb6a5.tar.gz rails-5f6fc9e389e90d44cf07318f0c3c51a12dfcb6a5.tar.bz2 rails-5f6fc9e389e90d44cf07318f0c3c51a12dfcb6a5.zip |
add mailer suffix to comments for email previews
Diffstat (limited to 'railties/lib/rails/generators/test_unit/mailer/templates/preview.rb')
-rw-r--r-- | railties/lib/rails/generators/test_unit/mailer/templates/preview.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/lib/rails/generators/test_unit/mailer/templates/preview.rb b/railties/lib/rails/generators/test_unit/mailer/templates/preview.rb index 6b85764a66..b063cbc47b 100644 --- a/railties/lib/rails/generators/test_unit/mailer/templates/preview.rb +++ b/railties/lib/rails/generators/test_unit/mailer/templates/preview.rb @@ -1,9 +1,9 @@ <% module_namespacing do -%> -# Preview all emails at http://localhost:3000/rails/mailers/<%= file_path %> +# Preview all emails at http://localhost:3000/rails/mailers/<%= file_path %>_mailer class <%= class_name %>MailerPreview < ActionMailer::Preview <% actions.each do |action| -%> - # Preview this email at http://localhost:3000/rails/mailers/<%= file_path %>/<%= action %> + # Preview this email at http://localhost:3000/rails/mailers/<%= file_path %>_mailer/<%= action %> def <%= action %> <%= class_name %>Mailer.<%= action %> end |