aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorMateja <mail@matejamaric.com>2020-11-01 12:12:31 +0100
committerMateja <mail@matejamaric.com>2020-11-01 12:12:31 +0100
commit590ecae90b0d03cd03507ca88e29a0ed4c28e5c1 (patch)
treea4f8c6afc933f41f26b82b00af10c3db41999ec6 /app
parent57dff5950b32a5c4c6f8fcddc7ce3b28601792f8 (diff)
downloadyota-laravel-590ecae90b0d03cd03507ca88e29a0ed4c28e5c1.tar.gz
yota-laravel-590ecae90b0d03cd03507ca88e29a0ed4c28e5c1.zip
Display in reservations.
Diffstat (limited to 'app')
-rw-r--r--app/Http/Controllers/SpecialCallsController.php3
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)