blob: 71c4cb24afe22faf55d389b555d781950dedaf7c (
plain) (
tree)
|
|
# frozen_string_literal: true
module ActiveJob
module Translation #:nodoc:
extend ActiveSupport::Concern
included do
around_perform do |job, block, _|
I18n.with_locale(job.locale, &block)
end
end
end
end
|