# File lib/lightrail/commands.rb, line 96 def copy_all_views(lib_dir) create_path = File.join(lib_dir,"create") views_path = File.join(create_path,"app","views") view_files = Dir.glob([File.join(views_path,"**/**")]) view_files.each do |path| if File.directory?(path) directory replace_paths(path,create_path) else file path, replace_paths(path,create_path) end end end