diff options
Diffstat (limited to 'railties/lib/generators/rails/scaffold')
-rw-r--r-- | railties/lib/generators/rails/scaffold/scaffold_generator.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/railties/lib/generators/rails/scaffold/scaffold_generator.rb b/railties/lib/generators/rails/scaffold/scaffold_generator.rb index 1386000d9b..73ec294cf0 100644 --- a/railties/lib/generators/rails/scaffold/scaffold_generator.rb +++ b/railties/lib/generators/rails/scaffold/scaffold_generator.rb @@ -2,8 +2,9 @@ require 'generators/rails/resource/resource_generator' module Rails module Generators - class ScaffoldGenerator < ResourceGenerator + class ScaffoldGenerator < ResourceGenerator #metagenerator remove_hook_for :actions, :resource_controller + hook_for :scaffold_controller end end end |