gluster-web-interface/app/controllers/home_controller.rb

9 lines
188 B
Ruby
Raw Normal View History

2016-08-20 06:41:37 +00:00
class HomeController < ApplicationController
def index
2016-09-02 05:47:18 +00:00
config = get_conf
2016-09-02 06:18:45 +00:00
# @current_dir = config["project_path"]
2016-09-02 06:20:43 +00:00
@current_dir = "~"
2016-09-02 05:56:12 +00:00
file_directory(@current_dir)
2016-08-20 06:41:37 +00:00
end
end