register fleet
This commit is contained in:
@@ -72,7 +72,7 @@ class FleetsController extends Controller
|
||||
}
|
||||
}
|
||||
|
||||
public function addPilot(Request $request) {
|
||||
public function addPilot($id) {
|
||||
//Retrieve the fleet from the session
|
||||
$fleet = $request->session()->get('fleet');
|
||||
//Add a pilot to the fleet
|
||||
|
||||
@@ -4,10 +4,6 @@
|
||||
<h1>Work in Progress aka NOTHING WORKS!</h1><br>
|
||||
<h2>Standing Fleet</h2>
|
||||
<a href="{{ route('/fleets/addpilot/{id}', ['id' => Auth::user()->character_id]) }}">Join Standing Fleet</a>
|
||||
@if($fleetCommander == true)
|
||||
<a href="{{ route('/fleets/{id}/createwing', ['id' => $fleetId]) }}">Create Wing</a>
|
||||
<a href="{{ route('/fleets/{id}/createsquad', ['id' => $fleetId]) }}">Create Squad</a>
|
||||
@endif
|
||||
Display some other cool stuff about the fleet
|
||||
</div>
|
||||
@endsection
|
||||
Reference in New Issue
Block a user