From 209b2790b6641c8a2e1f9269e718cf393a497628 Mon Sep 17 00:00:00 2001 From: Nabeel Shahzad Date: Wed, 15 Apr 2020 15:12:57 -0400 Subject: [PATCH] Fix URL to briefing --- app/Http/Resources/SimBrief.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Resources/SimBrief.php b/app/Http/Resources/SimBrief.php index 26c26aa6..fc0fef62 100644 --- a/app/Http/Resources/SimBrief.php +++ b/app/Http/Resources/SimBrief.php @@ -13,7 +13,7 @@ class SimBrief extends Resource { return [ 'id' => $this->id, - 'url' => url(route('api.flights.briefing', ['id' => $this->id])), + 'url' => url(route('api.flights.briefing', ['id' => $this->flight_id])), ]; } }