config/routes.rb in sidekiq_monitor-0.0.4 vs config/routes.rb in sidekiq_monitor-0.0.5
- old
+ new
@@ -1,10 +1,12 @@
Sidekiq::Monitor::Engine.routes.draw do
- match '/' => 'jobs#index', :as => 'sidekiq_monitor'
- match '/queues' => 'queues#index'
+ get '/', to: 'jobs#index', :as => 'sidekiq_monitor'
+ get '/queues', to: 'queues#index'
namespace 'api' do
- match '/jobs' => 'jobs#index'
- match '/jobs/:action(/:id)' => 'jobs'
- match '/queues/:queue' => 'queues#show'
+ get '/jobs', to: 'jobs#index'
+ get '/jobs/clean', to: 'jobs#clean'
+ get '/jobs/custom_views/:id', to: 'jobs#custom_views'
+ get '/jobs/retry/:id', to: 'jobs#retry'
+ get '/queues/:queue', to: 'queues#show'
end
end