hooking the generator to scaffold_controller instead of just controller