Fix deprecation warning for Sidekiq web session secret (#16009)

This commit is contained in:
Eugen Rochko 2021-04-09 02:31:11 +02:00 committed by GitHub
parent bbe7fcf267
commit 6890846e47

View file

@ -3,8 +3,6 @@
require 'sidekiq_unique_jobs/web'
require 'sidekiq-scheduler/web'
Sidekiq::Web.set :session_secret, Rails.application.secrets[:secret_key_base]
Rails.application.routes.draw do
root 'home#index'