From c280a58214cba348d4e0898a84f3a9c59cbfcd87 Mon Sep 17 00:00:00 2001 From: Sebastian Serth Date: Fri, 22 Dec 2023 00:37:43 +0100 Subject: [PATCH] Resolve Rails.application.secrets deprecation --- app/helpers/authenticated_url_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/helpers/authenticated_url_helper.rb b/app/helpers/authenticated_url_helper.rb index d33d852e..be4e19e1 100644 --- a/app/helpers/authenticated_url_helper.rb +++ b/app/helpers/authenticated_url_helper.rb @@ -6,7 +6,7 @@ module AuthenticatedUrlHelper class << self TOKEN_ALGORITHM = 'HS512' TOKEN_EXPIRATION = 10.minutes - TOKEN_SECRET = Rails.application.secrets.secret_key_base + TOKEN_SECRET = Rails.application.secret_key_base TOKEN_PARAM = :token COOKIE_EXPIRATION = 30.seconds