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

15 lines
431 B
Ruby

# turns off browser asset caching so we can test CSS changes quickly
ENV['SIDEKIQ_WEB_TESTING'] = '1'
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