From 6b0d7d8ea4380f98c27e3da7d935d01887cfc633 Mon Sep 17 00:00:00 2001 From: Nabeel Shahzad Date: Mon, 1 Jan 2018 16:20:11 -0600 Subject: [PATCH] set the status URL to the full URL --- resources/views/admin/pireps/pirep_card.blade.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/views/admin/pireps/pirep_card.blade.php b/resources/views/admin/pireps/pirep_card.blade.php index d15362d7..14d2f4d9 100644 --- a/resources/views/admin/pireps/pirep_card.blade.php +++ b/resources/views/admin/pireps/pirep_card.blade.php @@ -57,7 +57,7 @@ @if($pirep->state == PirepState::PENDING || $pirep->state == PirepState::REJECTED) - {!! Form::open(['url' => '/admin/pireps/'.$pirep->id.'/status', 'method' => 'post', + {!! Form::open(['url' => url('/admin/pireps/'.$pirep->id.'/status'), 'method' => 'post', 'name' => 'accept_'.$pirep->id, 'id' => $pirep->id.'_accept', 'pirep_id' => $pirep->id, @@ -71,7 +71,7 @@ @if($pirep->state == PirepState::PENDING || $pirep->state == PirepState::ACCEPTED) - {!! Form::open(['url' => '/admin/pireps/'.$pirep->id.'/status', 'method' => 'post', + {!! Form::open(['url' => url('/admin/pireps/'.$pirep->id.'/status'), 'method' => 'post', 'name' => 'reject_'.$pirep->id, 'id' => $pirep->id.'_reject', 'pirep_id' => $pirep->id,