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 Jan 19, 2024
1 parent 9a28061 commit c280a58
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 c280a58

Please sign in to comment.