mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-24 12:56:21 +00:00
12 lines
206 B
Ruby
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
|