This commit is contained in:
bee0005
2016-09-05 16:12:24 +00:00
parent 848255a822
commit f2a1e1142c
2 changed files with 4 additions and 5 deletions

View File

@@ -19,7 +19,7 @@ class HomeController < ApplicationController
def delete_file
file_name = params[:file_name]
puts "rm #{file_name} -rf"
`rm #{file_name} -rf`
#`rm #{file_name} -rf`
redirect_to '/home/index'
end
end