lib/ld/project/routes.rb in ld-0.2.13 vs lib/ld/project/routes.rb in ld-0.2.14

- old
+ new

@@ -23,9 +23,9 @@ type = row[1] help_method = row[0] uri = row[2] [@model_name,controller_name, action, type, uri, help_method] }.sort{|a,b| a[1] <=> b[1]} - #File.delete("#{@root.path}/routes.txt") if File.exist? "#{@root.path}/routes.txt" + File.delete("#{@root.path}/routes.txt") if File.exist? "#{@root.path}/routes.txt" @headings = ['所属模型','控制器', 'action', '请求类型','URI','帮助方法'] end end \ No newline at end of file