rails v7.1.2 and ruby to v3.3.0
This commit is contained in:
committed by
Pete Matsyburka
parent
b94dbc75b7
commit
fe845bfa36
@@ -21,7 +21,7 @@ module SubmissionEvents
|
||||
|
||||
def build_tracking_param(submitter, event_type = 'click_email')
|
||||
Base64.urlsafe_encode64(
|
||||
[submitter.slug, event_type, Rails.application.secrets.secret_key_base].join(':')
|
||||
[submitter.slug, event_type, Rails.application.credentials.secret_key_base].join(':')
|
||||
).first(TRACKING_PARAM_LENGTH)
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user