scinote-web/app/controllers/active_jobs_controller.rb

7 lines
169 B
Ruby

# frozen_string_literal: true
class ActiveJobsController < ApplicationController
def status
render json: { status: ApplicationJob.status(params[:id]) }
end
end