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

13 lines
193 B
Ruby
Raw Permalink 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
2019-09-16 16:44:29 +00:00
include SuckerPunch::Job
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