diff --git a/app/controllers/volume_controller.rb b/app/controllers/volume_controller.rb index 0f07e3c..803cb84 100644 --- a/app/controllers/volume_controller.rb +++ b/app/controllers/volume_controller.rb @@ -5,7 +5,7 @@ class VolumeController < ApplicationController @volumes = Array.new volume = Hash.new - file_directory(@config["project_path"]) + file_directory("/mnt") if get_info.blank? flash[:danger] = "Check Server" diff --git a/app/views/home/index.html.erb b/app/views/home/index.html.erb index 85379f5..211d322 100644 --- a/app/views/home/index.html.erb +++ b/app/views/home/index.html.erb @@ -149,46 +149,11 @@ - - @@ -259,7 +224,6 @@ $("#table_div").append(new_table); $('#datatable').dataTable(); - TableManageButtons.init(); } }) } diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index 6974a21..e77d745 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -15,8 +15,6 @@
- - <% flash.each do |key, value| %>
<%= value %> × diff --git a/app/views/volume/index.html.erb b/app/views/volume/index.html.erb index 64ae10f..73d94da 100644 --- a/app/views/volume/index.html.erb +++ b/app/views/volume/index.html.erb @@ -1,4 +1,38 @@ -