5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-28 05:16:21 +00:00
panel/app/jobs/application_job.rb

12 lines
206 B
Ruby

# frozen_string_literal: true
# Base para trabajos
class ApplicationJob < ActiveJob::Base
include Que::ActiveJob::JobExtensions
private
def site
@site ||= Site.find @params[:site_id]
end
end