fleet data

This commit is contained in:
2018-11-13 21:04:50 -06:00
parent 860838a8c9
commit 0721a70ef5

View File

@@ -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.');
} }
} }