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