aboutsummaryrefslogblamecommitdiffstats
path: root/railties/lib/generators/rails/scaffold/scaffold_generator.rb
blob: fdea5bf52ba53339aa49e9d3439659fc6201eecf (plain) (tree)
1
2
3
4
5
6
7
8
9
10
                                                      


                   
                                                              

                                          
 

                                                      


       
require 'generators/rails/resource/resource_generator'

module Rails
  module Generators
    class ScaffoldGenerator < ResourceGenerator #metagenerator
      remove_hook_for :resource_controller
      remove_class_option :actions

      hook_for :scaffold_controller, :required => true
      hook_for :stylesheets
    end
  end
end