mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Active Job Railtie
This commit is contained in:
parent
86a71b154a
commit
0cb85a6e8c
1 changed files with 11 additions and 0 deletions
11
lib/active_job/railitie.rb
Normal file
11
lib/active_job/railitie.rb
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
require 'active_model/global_id'
|
||||||
|
require 'active_job'
|
||||||
|
|
||||||
|
module ActiveJob
|
||||||
|
# = Active Job Railtie
|
||||||
|
class Railtie < Rails::Railtie # :nodoc:
|
||||||
|
initializer 'active_job' do
|
||||||
|
ActiveSupport.on_load(:active_job) { Base.logger = ::Rails.logger }
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
Loading…
Reference in a new issue