Skip to content

Commit

Permalink
Update src/Mail/Mailable.php
Browse files Browse the repository at this point in the history
  • Loading branch information
Luke Towers authored Oct 13, 2020
1 parent cc1c88a commit 8d4ee39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Mail/Mailable.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public function buildViewData()
*/
public function withSerializedData($data)
{
// save current locale to be serialized
// Ensure that the current locale is stored with the rest of the data for proper translation of queued messages
$defaultData = [
'_current_locale' => App::getLocale(),
];
Expand Down

0 comments on commit 8d4ee39

Please sign in to comment.