register fleet

This commit is contained in:
2018-11-12 23:07:47 -06:00
parent c8a5646896
commit 37e2ed19fb
2 changed files with 1 additions and 5 deletions

View File

@@ -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

View File

@@ -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