fleet data
This commit is contained in:
@@ -85,10 +85,10 @@ class FleetsController extends Controller
|
||||
|
||||
$fleet->SetFleetEndTime($endTime);
|
||||
//Return the view with the success message
|
||||
return view('/fleets/displayfleets')->with('success', 'Fleet registered.');
|
||||
return view('fleets.displayfleets')->with('success', 'Fleet registered.');
|
||||
} else {
|
||||
//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