This commit is contained in:
2018-11-10 14:07:45 -06:00
parent d02c8a9c93
commit f8885853ab
4 changed files with 6 additions and 10 deletions

View File

@@ -21,14 +21,10 @@ class FleetsController extends Controller
return view('fleets.registerfleet');
}
public function displayStandingFleet() {
//Retrieve the fleet from the session
$fleet = $request->session()->get('fleet');
//Display standing fleets
$display = $fleet->RenderFleetDisplay();
public function displayFleets() {
//Return the view with the array of the fleet
return view('fleets.displaystanding')->with('display', $display);
return view('fleets.displayfleets');
}
public function registerFleet(Request $request) {