Formatting tweak

This commit is contained in:
Kevin MacMartin 2016-08-05 14:41:02 -04:00
parent be7331fe20
commit 19ca138bb8

View file

@ -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');