Sha256: 9cd9bcc29dfe884a8a0c47f48564697971abbe22e51c70267451ac3dd49f0706

Contents?: true

Size: 437 Bytes

Versions: 2

Compression:

Stored size: 437 Bytes

Contents

# frozen_string_literal: true

class ScheduledTaskStatusesController < ApplicationController
  active_scaffold :scheduled_task do |_conf|
    config.actions = []
  end

  def log
    record = find_if_allowed(params[:id], :read)
    @log_file = record.log_file(params[:identifier])
  end

  def index; end

  def status_content
    @scheduled_tasks = ::ScheduledTask.order(task: :asc, scheduling: :asc)
    render layout: false
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
tasks_scheduler-0.9.3 app/controllers/scheduled_task_statuses_controller.rb
tasks_scheduler-0.9.2 app/controllers/scheduled_task_statuses_controller.rb