1

I customized my scaffold files (view and controller). But by default it copies only the standard files like:

  • _form.html.erb
  • edit.html.erb
  • index.html.erb
  • new.html.erb
  • show.html.erb

but I've to copy (and render) additional files like a "_list.html.erb" or something like "index.js.erb"

How would be the best way to do this, without creating an own generator? I'd like to use the standard rails scaffold.

thanks for help!

andi
  • 311
  • 1
  • 16

0 Answers0