diff --git a/src/Illuminate/Notifications/Messages/SimpleMessage.php b/src/Illuminate/Notifications/Messages/SimpleMessage.php index 3edf7288e48c..e506bc01e56b 100644 --- a/src/Illuminate/Notifications/Messages/SimpleMessage.php +++ b/src/Illuminate/Notifications/Messages/SimpleMessage.php @@ -219,7 +219,7 @@ public function toArray() 'outroLines' => $this->outroLines, 'actionText' => $this->actionText, 'actionUrl' => $this->actionUrl, - 'actionUrlReadable' => str_replace(['mailto:', 'tel:'], '', $this->actionUrl), + 'displayableActionUrl' => str_replace(['mailto:', 'tel:'], '', $this->actionUrl), ]; } } diff --git a/src/Illuminate/Notifications/resources/views/email.blade.php b/src/Illuminate/Notifications/resources/views/email.blade.php index dc7caa914fd2..5de1e35375ed 100644 --- a/src/Illuminate/Notifications/resources/views/email.blade.php +++ b/src/Illuminate/Notifications/resources/views/email.blade.php @@ -52,11 +52,11 @@ @slot('subcopy') @lang( "If you’re having trouble clicking the \":actionText\" button, copy and paste the URL below\n". - 'into your web browser: [:actionUrlReadable](:actionURL)', + 'into your web browser: [:displayableActionUrl](:actionURL)', [ 'actionText' => $actionText, - 'actionUrlReadable' => $actionUrlReadable, 'actionURL' => $actionUrl, + 'displayableActionUrl' => $displayableActionUrl, ] ) @endslot