diff options
Diffstat (limited to 'railties/lib/generators/rails/mailer')
-rw-r--r-- | railties/lib/generators/rails/mailer/mailer_generator.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/generators/rails/mailer/mailer_generator.rb b/railties/lib/generators/rails/mailer/mailer_generator.rb index 1753166af5..33f1665b83 100644 --- a/railties/lib/generators/rails/mailer/mailer_generator.rb +++ b/railties/lib/generators/rails/mailer/mailer_generator.rb @@ -8,7 +8,7 @@ module Rails template "mailer.rb", File.join('app/models', class_path, "#{file_name}.rb") end - invoke_for :template_engine, :test_framework + hook_for :template_engine, :test_framework end end end |