5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-29 15:16:21 +00:00
panel/app/jobs/application_job.rb
2020-05-30 16:43:25 -03:00

12 lines
193 B
Ruby

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