fluentd-ui/app/controllers/fluentd_controller.rb

8 lines
171 B
Ruby

class FluentdController < ApplicationController
before_action :login_required
def index
@daemons = [Fluentd.new(Rails.root + "tmp" + "fluentd")] # TODO
end
end