Fix the route() calls for L6
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
<tr>
|
||||
<td>
|
||||
@if($pirep->state === PirepState::PENDING || $pirep->state === PirepState::REJECTED)
|
||||
{{ Form::open(['url' => route('admin.pirep.status', ['id' => $pirep->id]),
|
||||
{{ Form::open(['url' => route('admin.pirep.status', [$pirep->id]),
|
||||
'method' => 'post',
|
||||
'name' => 'accept_'.$pirep->id,
|
||||
'id' => $pirep->id.'_accept',
|
||||
@@ -16,7 +16,7 @@
|
||||
<td> </td>
|
||||
<td>
|
||||
@if($pirep->state === PirepState::PENDING || $pirep->state === PirepState::ACCEPTED)
|
||||
{{ Form::open(['url' => route('admin.pirep.status', ['id' => $pirep->id]),
|
||||
{{ Form::open(['url' => route('admin.pirep.status', [$pirep->id]),
|
||||
'method' => 'post',
|
||||
'name' => 'reject_'.$pirep->id,
|
||||
'id' => $pirep->id.'_reject',
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
<table class="table table-hover">
|
||||
<tr>
|
||||
<td>Pilot</td>
|
||||
<td><a href="{{ route('admin.users.show', ['id' => $pirep->pilot->id]) }}"
|
||||
<td><a href="{{ route('admin.users.show', [$pirep->pilot->id]) }}"
|
||||
target="_blank">{{ $pirep->user->name }}</a>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
Reference in New Issue
Block a user