views:

13

answers:

1

first i use

rails g scaffold product name:string

the generate crud page works fine

but i also want to an control module so i use

rails g scaffold_controller admin/product name:string

i want to put manager code in a admin directory,but this generate crud code can't work,i need modify the generate template code,is this a rail3 issue,or i made something wrong?