Sha256: 072e09b337a199b9a18fcb81c4279d3419199f5a22776ce81bd517b41a04d26d

Contents?: true

Size: 434 Bytes

Versions: 1

Compression:

Stored size: 434 Bytes

Contents

# frozen_string_literal: true

class ScheduledTaskStatusesController < ApplicationController
  active_scaffold :scheduled_task do |conf|
    conf.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

1 entries across 1 versions & 1 rubygems

Version Path
tasks_scheduler-0.9.4 app/controllers/scheduled_task_statuses_controller.rb