diff options
Diffstat (limited to 'railties/lib/generators/rails/scaffold')
-rw-r--r-- | railties/lib/generators/rails/scaffold/scaffold_generator.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/lib/generators/rails/scaffold/scaffold_generator.rb b/railties/lib/generators/rails/scaffold/scaffold_generator.rb index 0bfbed42a0..af44c8ba65 100644 --- a/railties/lib/generators/rails/scaffold/scaffold_generator.rb +++ b/railties/lib/generators/rails/scaffold/scaffold_generator.rb @@ -4,9 +4,9 @@ module Rails module Generators class ScaffoldGenerator < ResourceGenerator #metagenerator remove_hook_for :actions, :resource_controller - hook_for :scaffold_controller, :required => true - # invoke_if stylesheets + hook_for :scaffold_controller, :required => true + hook_for :stylesheets end end end |