5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-16 11:21:42 +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