1
0
Fork 0
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:
Mike Perham 2014-04-28 21:11:28 -07:00
parent e2db9945c1
commit d8d3df9f2f

View file

@ -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