1
0
Fork 0
mirror of https://github.com/mperham/sidekiq.git synced 2022-11-09 13:52:34 -05:00
mperham--sidekiq/myapp/config/routes.rb
2018-09-20 13:06:46 -07:00

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