Class: Fluentd::Settings::HistoriesController

Inherits:
ApplicationController
  • Object
show all
Includes:
SettingHistoryConcern
Defined in:
app/controllers/fluentd/settings/histories_controller.rb

Instance Method Summary collapse

Methods included from SettingHistoryConcern

#configtest, #reuse, #show

Instance Method Details

#indexObject



4
5
6
7
8
# File 'app/controllers/fluentd/settings/histories_controller.rb', line 4

def index
  @backup_files = @fluentd.agent.backup_files_in_new_order.map do |file_path|
    Fluentd::SettingArchive::BackupFile.new(file_path)
  end
end