aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/generators/rails/scaffold/scaffold_generator.rb
blob: af44c8ba6564d05bf9d8c524fafea9805611c2f1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
require 'generators/rails/resource/resource_generator'

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

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