diff --git a/app/Http/Controllers/PagesController.php b/app/Http/Controllers/PagesController.php index 2072f11..b8b1e41 100644 --- a/app/Http/Controllers/PagesController.php +++ b/app/Http/Controllers/PagesController.php @@ -23,6 +23,7 @@ class PagesController extends Controller public function form_feedback(RequestSendAdmin $request){ $all = $request->all(); + Mail::to(config('mail.emailAdmin'))->send(new MailAdminy($all)); return redirect()->back()->with('Сообщение было успешно отправлено и будет обработано');