Class: ScheduledTaskStatusesController

Inherits:
ApplicationController
  • Object
show all
Defined in:
app/controllers/scheduled_task_statuses_controller.rb

Instance Method Summary collapse

Instance Method Details

#indexObject



13
# File 'app/controllers/scheduled_task_statuses_controller.rb', line 13

def index; end

#logObject



8
9
10
11
# File 'app/controllers/scheduled_task_statuses_controller.rb', line 8

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

#status_contentObject



15
16
17
18
# File 'app/controllers/scheduled_task_statuses_controller.rb', line 15

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