Sha256: c38daf3572ff4cbe1b0bb7581072162494a664235ee3c3ed4c1075a6f629dff6

Contents?: true

Size: 361 Bytes

Versions: 2

Compression:

Stored size: 361 Bytes

Contents

# frozen_string_literal: true

class ScheduledTaskStatusesController < ApplicationController
  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.1 app/controllers/scheduled_task_statuses_controller.rb
tasks_scheduler-0.9.0 app/controllers/scheduled_task_statuses_controller.rb