ajax testing

This commit is contained in:
2018-12-02 22:07:14 -06:00
parent 8062d21b82
commit 2c174eff21
6 changed files with 131 additions and 4 deletions

View File

@@ -25,6 +25,11 @@ class FleetsController extends Controller
return view('fleets.registerfleet');
}
public function displayFleetSetup() {
return 0;
}
public function displayFleets() {
$fleets = Fleet::all();
$data = array();
@@ -46,8 +51,6 @@ class FleetsController extends Controller
$description,
];
$size = sizeof($fc);
//Return the view with the array of the fleet
return view('fleets.displayfleets')->with('data', $data);
}