Skip to content

Commit

Permalink
Resolve Rails.application.secrets deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
MrSerth committed Dec 22, 2023
1 parent b1494c4 commit 1a3f36c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/helpers/authenticated_url_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 1a3f36c

Please sign in to comment.