fleets
This commit is contained in:
@@ -72,9 +72,9 @@ class FleetsController extends Controller
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public function addPilot(Request $request, $id) {
|
public function addPilot($id) {
|
||||||
//Retrieve the fleet from the session
|
//Retrieve the fleet from the session
|
||||||
$fleet = $request->session()->get('fleet');
|
$fleet = session('fleet');
|
||||||
dd($fleet);
|
dd($fleet);
|
||||||
//Add a pilot to the fleet
|
//Add a pilot to the fleet
|
||||||
$error = $fleet->AddPilot(Auth::user()->character_id);
|
$error = $fleet->AddPilot(Auth::user()->character_id);
|
||||||
|
|||||||
Reference in New Issue
Block a user