Fix rm call to actually work...
This commit is contained in:
parent
235999b835
commit
7ecc1c4f21
1 changed files with 3 additions and 1 deletions
|
@ -12,7 +12,9 @@ class Trace < ActiveRecord::Base
|
|||
|
||||
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue