This commit is contained in:
bee0005
2016-09-05 15:44:30 +00:00
parent 6d1813933f
commit 4556bbf044
2 changed files with 3 additions and 4 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