update
This commit is contained in:
@@ -44,6 +44,9 @@ class ApplicationController < ActionController::Base
|
||||
puts @files
|
||||
return @files
|
||||
end
|
||||
|
||||
|
||||
|
||||
def checkDir
|
||||
files = file_directory(params[:path])
|
||||
render :json => {:file => files , :current => @current_dir}
|
||||
end
|
||||
end
|
||||
|
||||
@@ -38,13 +38,6 @@ class VolumeController < ApplicationController
|
||||
redirect_to '/volume/info'
|
||||
end
|
||||
|
||||
|
||||
|
||||
def checkDir
|
||||
files = file_directory(params[:path])
|
||||
render :json => {:file => files , :current => @current_dir}
|
||||
end
|
||||
|
||||
def volume_mount
|
||||
@config = get_conf
|
||||
volume_name = params[:volume_name]
|
||||
|
||||
Reference in New Issue
Block a user