mirror of
https://github.com/prurigro/hypothetical.git
synced 2024-11-21 23:52:31 -05:00
Formatting tweak
This commit is contained in:
parent
be7331fe20
commit
19ca138bb8
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ class ContactController extends Controller {
|
|||
|
||||
// Send the email if the MAIL_SENDTO variable is set
|
||||
if (env('MAIL_SENDTO') != null) {
|
||||
Mail::send('email.contact', [ 'contact' => $contact ], function ($mail) use ($contact) {
|
||||
Mail::send('email.contact', [ 'contact' => $contact ], function($mail) use ($contact) {
|
||||
$mail->from(env('MAIL_ADDRESS'), env('SITE_NAME'))
|
||||
->to(env('MAIL_SENDTO'))
|
||||
->subject('Contact form submission');
|
||||
|
|
Loading…
Reference in a new issue