]> git.openstreetmap.org Git - rails.git/commitdiff
Fix rm call to actually work...
authorTom Hughes <tom@compton.nu>
Fri, 15 Jun 2007 11:28:58 +0000 (11:28 +0000)
committerTom Hughes <tom@compton.nu>
Fri, 15 Jun 2007 11:28:58 +0000 (11:28 +0000)
app/models/trace.rb

index eccd3af1f9f8164a40ecd9507086d0b63dcbe143..97dcf963518327c516f8b607d733d7819a2c798a 100644 (file)
@@ -12,7 +12,9 @@ class Trace < ActiveRecord::Base
 
   def destroy
     super
 
   def destroy
     super
-    FileUtils.rm_f(trace_name, icon_picture_name, large_picture_name)
+    FileUtils.rm_f(trace_name)
+    FileUtils.rm_f(icon_picture_name)
+    FileUtils.rm_f(large_picture_name)
   end
 
   def tagstring
   end
 
   def tagstring