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 bf74a7e06d
commit ed7d459d7f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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