blob: 0bfbed42a05bebcc78dd60890fbfe21d1b2d2444 (
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
# invoke_if stylesheets
end
end
end
|