Created
November 24, 2019 18:25
-
-
Save hapidjus/774e6f4a2717e10c6547c1a4e472028f to your computer and use it in GitHub Desktop.
Laravel Route to test send notification
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Route::get('preview-emails', function () { | |
$message = (new \App\Notifications\TicketCreated(\App\Ticket::first()))->toMail('test@test.com'); | |
return $message->render(); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment