template/routes.rb in maestrano-connector-rails-1.3.4 vs template/routes.rb in maestrano-connector-rails-1.3.5
- old
+ new
@@ -1,20 +1,14 @@
Rails.application.routes.draw do
mount Maestrano::Connector::Rails::Engine, at: '/'
+ mount Sidekiq::Web => '/sidekiq'
root 'home#index'
get 'home/index' => 'home#index'
get 'home/redirect_to_external' => 'home#redirect_to_external'
get 'home/index' => 'home#index'
put 'home/update' => 'home#update'
post 'home/synchronize' => 'home#synchronize'
get 'synchronizations/index' => 'synchronizations#index'
get 'shared_entities/index' => 'shared_entities#index'
-
- # Sidekiq Admin
- require 'sidekiq/web'
- Sidekiq::Web.use Rack::Auth::Basic do |username, password|
- username == ENV['SIDEKIQ_USERNAME'] && password == ENV['SIDEKIQ_PASSWORD']
- end
- mount Sidekiq::Web => '/sidekiq'
-end
\ No newline at end of file
+end