moons controller

This commit is contained in:
2020-02-23 20:40:15 -06:00
parent 42edfa8aa8
commit 0f3b8652ef

View File

@@ -38,7 +38,7 @@ class MoonsController extends Controller
$moonsTemp = DB::table('alliance_moons')->orderBy('System', 'asc')->get();
//Get the unique systems from the database
$systems = AllianceMoon::pluck('System')->toArray();
$systems = AllianceMoon::pluck('System')->distinct()->toArray();
dd($systems);