class Erb::Generators::ScaffoldGenerator

def copy_view_files

def copy_view_files
  available_views.each do |view|
    filename = filename_with_extensions(view)
    template filename, File.join("app/views", controller_file_path, filename)
  end
end