fleet data
This commit is contained in:
@@ -85,10 +85,10 @@ class FleetsController extends Controller
|
|||||||
|
|
||||||
$fleet->SetFleetEndTime($endTime);
|
$fleet->SetFleetEndTime($endTime);
|
||||||
//Return the view with the success message
|
//Return the view with the success message
|
||||||
return view('/fleets/displayfleets')->with('success', 'Fleet registered.');
|
return view('fleets.displayfleets')->with('success', 'Fleet registered.');
|
||||||
} else {
|
} else {
|
||||||
//Return the view with the error message of the fleet has been found already.
|
//Return the view with the error message of the fleet has been found already.
|
||||||
return view('/fleets/displayfleets')->with('error', 'Fleet already in the database.');
|
return view('fleets.displayfleets')->with('error', 'Fleet already in the database.');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user