mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
move config to proper place
This commit is contained in:
parent
c342476b57
commit
debe8ec3d7
2 changed files with 3 additions and 3 deletions
|
@ -16,9 +16,6 @@ Sidekiq.configure_server do |config|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
require 'sidekiq/web'
|
|
||||||
Sidekiq::Web.app_url = '/'
|
|
||||||
|
|
||||||
class EmptyWorker
|
class EmptyWorker
|
||||||
include Sidekiq::Worker
|
include Sidekiq::Worker
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
require 'sidekiq/web'
|
||||||
|
Sidekiq::Web.app_url = '/'
|
||||||
|
|
||||||
Rails.application.routes.draw do
|
Rails.application.routes.draw do
|
||||||
mount Sidekiq::Web => '/sidekiq'
|
mount Sidekiq::Web => '/sidekiq'
|
||||||
get "work" => "work#index"
|
get "work" => "work#index"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue