mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
12 lines
328 B
Ruby
12 lines
328 B
Ruby
require 'sidekiq/web'
|
|
Sidekiq::Web.app_url = '/'
|
|
|
|
Rails.application.routes.draw do
|
|
mount Sidekiq::Web => '/sidekiq'
|
|
get "work" => "work#index"
|
|
get "work/email" => "work#email"
|
|
get "work/post" => "work#delayed_post"
|
|
get "work/long" => "work#long"
|
|
get "work/crash" => "work#crash"
|
|
get "work/bulk" => "work#bulk"
|
|
end
|