gluster-web-interface/app/controllers/home_controller.rb
2016-09-02 06:18:45 +00:00

9 lines
188 B
Ruby

class HomeController < ApplicationController
def index
config = get_conf
# @current_dir = config["project_path"]
@current_dir = `~`
file_directory(@current_dir)
end
end