diff options
Diffstat (limited to 'railties/lib/generators/rails/controller')
-rw-r--r-- | railties/lib/generators/rails/controller/controller_generator.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/generators/rails/controller/controller_generator.rb b/railties/lib/generators/rails/controller/controller_generator.rb index ea406c96e7..bc2a53fc7d 100644 --- a/railties/lib/generators/rails/controller/controller_generator.rb +++ b/railties/lib/generators/rails/controller/controller_generator.rb @@ -8,7 +8,7 @@ module Rails template 'controller.rb', File.join('app/controllers', class_path, "#{file_name}_controller.rb") end - invoke_for :template_engine, :test_framework + hook_for :template_engine, :test_framework invoke_if :helper, :aliases => "-v" end end |