diff options
author | Mateja <mail@matejamaric.com> | 2020-11-01 12:12:31 +0100 |
---|---|---|
committer | Mateja <mail@matejamaric.com> | 2020-11-01 12:12:31 +0100 |
commit | 590ecae90b0d03cd03507ca88e29a0ed4c28e5c1 (patch) | |
tree | a4f8c6afc933f41f26b82b00af10c3db41999ec6 /app/Http/Controllers | |
parent | 57dff5950b32a5c4c6f8fcddc7ce3b28601792f8 (diff) | |
download | yota-laravel-590ecae90b0d03cd03507ca88e29a0ed4c28e5c1.tar.gz yota-laravel-590ecae90b0d03cd03507ca88e29a0ed4c28e5c1.zip |
Display in reservations.
Diffstat (limited to 'app/Http/Controllers')
-rw-r--r-- | app/Http/Controllers/SpecialCallsController.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/Http/Controllers/SpecialCallsController.php b/app/Http/Controllers/SpecialCallsController.php index 8238d94..6f173b9 100644 --- a/app/Http/Controllers/SpecialCallsController.php +++ b/app/Http/Controllers/SpecialCallsController.php @@ -107,7 +107,8 @@ class SpecialCallsController extends Controller public function reservations(Request $request) { - return view('pages.reservations'); + $data = Reservation::all(); + return view('pages.reservations', compact('data')); } public function reservationsForm(Request $request) |