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

13 lines
206 B
Ruby
Raw Normal View History

2019-03-26 15:32:20 +00:00
# frozen_string_literal: true
2019-09-16 16:44:29 +00:00
# Base para trabajos
2018-01-02 17:19:25 +00:00
class ApplicationJob < ActiveJob::Base
include Que::ActiveJob::JobExtensions
2020-05-30 19:43:25 +00:00
private
def site
@site ||= Site.find @params[:site_id]
end
2018-01-02 17:19:25 +00:00
end