Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Korko
SecretSanta.fr
Commits
e7782c8e
Verified
Commit
e7782c8e
authored
Jan 03, 2021
by
Korko
Browse files
Fix default version
parent
924b57a0
Pipeline
#377152
failed with stages
in 3 minutes and 2 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
app/Mail/TrackedMailable.php
View file @
e7782c8e
...
...
@@ -27,7 +27,7 @@ class TrackedMailable extends Mailable
$this
->
bounceReturnPath
=
str_replace
(
'*'
,
self
::
BOUNCE
.
'-'
.
$mail
->
hash
.
'-'
.
$mail
->
version
,
config
(
'mail.return_path'
));
$this
->
confirmReturnPath
=
str_replace
(
'*'
,
self
::
CONFIRM
.
'-'
.
$mail
->
hash
.
'-'
.
$mail
->
version
,
config
(
'mail.return_path'
));
$this
->
trackedPixel
=
URL
::
signedRoute
(
'pixel'
,
[
'mail'
=>
$mail
,
'mail'
=>
$mail
->
hash
,
'version'
=>
$mail
->
version
,
]);
}
...
...
@@ -62,4 +62,4 @@ class TrackedMailable extends Mailable
parent
::
send
(
$mailer
);
}
}
\ No newline at end of file
}
app/Models/Mail.php
View file @
e7782c8e
...
...
@@ -26,6 +26,7 @@ class Mail extends Model
*/
protected
$attributes
=
[
'delivery_status'
=>
self
::
CREATED
,
'version'
=>
0
,
];
public
const
CREATED
=
'created'
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment