Replace secret_token with secret_key_base.
secrets.secret_token is deprecated in favor of secret_key_base and will be removed in Rails 6.0.
This commit is contained in:
parent
2e2b42ef1a
commit
71023a8713
1 changed files with 1 additions and 1 deletions
|
|
@ -1,3 +1,3 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
Rails.application.config.secret_token = AppConfig.secret_token
|
||||
Rails.application.config.secret_key_base = AppConfig.secret_token
|
||||
|
|
|
|||
Loading…
Reference in a new issue