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