ajax testing
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user