diff options
Diffstat (limited to 'railties/lib/generators/erb/scaffold/scaffold_generator.rb')
-rw-r--r-- | railties/lib/generators/erb/scaffold/scaffold_generator.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/generators/erb/scaffold/scaffold_generator.rb b/railties/lib/generators/erb/scaffold/scaffold_generator.rb index ad40fe47ae..618742dde6 100644 --- a/railties/lib/generators/erb/scaffold/scaffold_generator.rb +++ b/railties/lib/generators/erb/scaffold/scaffold_generator.rb @@ -3,7 +3,7 @@ require 'generators/erb' module Erb module Generators class ScaffoldGenerator < Base - include Rails::Generators::ControllerNamedBase + include Rails::Generators::ScaffoldBase argument :attributes, :type => :hash, :default => {}, :banner => "field:type field:type" |