diff options
author | José Valim <jose.valim@gmail.com> | 2009-06-27 14:27:26 +0200 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2009-06-27 21:30:00 +0200 |
commit | 1a15dd4de577d77f37bc39a1ca59f871aa9a395b (patch) | |
tree | 6f2e97e43a698bed000003b0a236ae2f750c714e /railties/lib/generators/rails/mailer/mailer_generator.rb | |
parent | acaeaf308a071d9892f8d555be0697c45558ef4c (diff) | |
download | rails-1a15dd4de577d77f37bc39a1ca59f871aa9a395b.tar.gz rails-1a15dd4de577d77f37bc39a1ca59f871aa9a395b.tar.bz2 rails-1a15dd4de577d77f37bc39a1ca59f871aa9a395b.zip |
Rename invoke_for to hook_for.
Diffstat (limited to 'railties/lib/generators/rails/mailer/mailer_generator.rb')
-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 |