diff options
author | Mateja <mail@matejamaric.com> | 2020-10-31 14:10:53 +0100 |
---|---|---|
committer | Mateja <mail@matejamaric.com> | 2020-10-31 14:10:53 +0100 |
commit | 16eb120253efa86e7c5fa548e03de321a5b54a1b (patch) | |
tree | 4b29776eaac447a69e18c3f1b294ba54d3a60a6f /app/Http/Controllers/SpecialCallsController.php | |
parent | dc94a41f2073d193d04cc0a9cdb852950b2da048 (diff) | |
download | yota-laravel-16eb120253efa86e7c5fa548e03de321a5b54a1b.tar.gz yota-laravel-16eb120253efa86e7c5fa548e03de321a5b54a1b.zip |
Little bit of sanitizing...
Diffstat (limited to 'app/Http/Controllers/SpecialCallsController.php')
-rw-r--r-- | app/Http/Controllers/SpecialCallsController.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Http/Controllers/SpecialCallsController.php b/app/Http/Controllers/SpecialCallsController.php index 3a3ab89..dcfbbf0 100644 --- a/app/Http/Controllers/SpecialCallsController.php +++ b/app/Http/Controllers/SpecialCallsController.php @@ -38,6 +38,6 @@ class SpecialCallsController extends Controller 'phone' => ['required', 'regex:/^[0-9 ]+$/'], ]); - return redirect('reserve')->with('status', 'Reservation submitted.'); + return redirect()->route('reserve')->with('status', 'Reservation submitted.'); } } |