mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
Dont need to manually add app/workers to autoload_paths
This commit is contained in:
parent
e2db9945c1
commit
d8d3df9f2f
1 changed files with 0 additions and 2 deletions
|
@ -10,8 +10,6 @@ module Sidekiq
|
|||
end
|
||||
|
||||
class Rails < ::Rails::Engine
|
||||
config.autoload_paths << File.expand_path("#{config.root}/app/workers") if File.exist?("#{config.root}/app/workers")
|
||||
|
||||
initializer 'sidekiq' do
|
||||
Sidekiq.hook_rails!
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue