Sha256: 52ecbd7422c6ccd599033f358254c1cb23504fecc75b87838cf0f20a24838337
Contents?: true
Size: 463 Bytes
Versions: 1
Compression:
Stored size: 463 Bytes
Contents
module BatchManager class BatchesController < ApplicationController def index @details = BatchManager::Monitor.details end def exec BatchManager::Executor.exec(params[:batch_name], :wet => params[:wet]) redirect_to(batch_manager_batches_url) end def log log_file = BatchManager::Logger.log_file_path(params[:batch_name], params[:wet]) render :text => File.read(log_file).gsub("\n", "<br/>") end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
batch_manager-0.2.2 | app/controllers/batch_manager/batches_controller.rb |