Sha256: c9bc643aa804d6a925e670cf5eb071bcd97114607b8e9d5060852b00b7b04e12
Contents?: true
Size: 401 Bytes
Versions: 14
Compression:
Stored size: 401 Bytes
Contents
class Fluentd::SettingsController < ApplicationController before_action :login_required before_action :find_fluentd def show @config = @fluentd.agent.config end def edit @config = @fluentd.agent.config end def update @fluentd.agent.config_write params[:config] @fluentd.agent.restart if @fluentd.agent.running? redirect_to daemon_setting_path(@fluentd) end end
Version data entries
14 entries across 14 versions & 1 rubygems