add mount button

This commit is contained in:
bee0005
2016-08-31 12:29:16 +00:00
parent d5e65393f7
commit 199f2c0c91
3 changed files with 20 additions and 4 deletions

View File

@@ -92,4 +92,11 @@ class VolumeController < ApplicationController
files = file_directory(params[:path])
render :json => {:file => files , :current => @current_dir}
end
def mount
puts "@@@@@@@@@@"
puts params[:volume_id]
puts "##########"
redirect_to '/volume/info'
end
end