Set fields to pireps in prefile/update calls

This commit is contained in:
Nabeel Shahzad
2018-02-06 13:46:23 -06:00
parent 8b2eddc72d
commit de0c71cb06
5 changed files with 60 additions and 19 deletions

View File

@@ -168,7 +168,6 @@ class PirepController extends Controller
public function show($id)
{
#$pirep = Pirep::where('id', $id);
$pirep = $this->pirepRepo->find($id);
if (empty($pirep)) {
Flash::error('Pirep not found');