Sha256: 92e07ecd0ace22ed0fa047b1a9cc7c108e2133551050f359409a9aa803a8e6d1
Contents?: true
Size: 509 Bytes
Versions: 25
Compression:
Stored size: 509 Bytes
Contents
class Fluentd::Settings::HistoriesController < ApplicationController include SettingHistoryConcern def index @backup_files = @fluentd.agent.backup_files_in_new_order.map do |file_path| Fluentd::SettingArchive::BackupFile.new(file_path) end end private def find_backup_file #Do not use BackupFile.new(params[:id]) because params[:id] can be any path. @backup_file = Fluentd::SettingArchive::BackupFile.find_by_file_id(@fluentd.agent.config_backup_dir, params[:id]) end end
Version data entries
25 entries across 25 versions & 1 rubygems