diff options
Diffstat (limited to 'railties/lib/generators/rails/scaffold')
-rw-r--r-- | railties/lib/generators/rails/scaffold/scaffold_generator.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/generators/rails/scaffold/scaffold_generator.rb b/railties/lib/generators/rails/scaffold/scaffold_generator.rb index c641165e3d..874ef98057 100644 --- a/railties/lib/generators/rails/scaffold/scaffold_generator.rb +++ b/railties/lib/generators/rails/scaffold/scaffold_generator.rb @@ -6,7 +6,7 @@ module Rails class_option :test_framework, :banner => "NAME", :desc => "Test framework to be invoked" remove_hook_for :actions, :resource_controller - hook_for :scaffold_controller + hook_for :scaffold_controller, :required => true end end end |