moons controller

This commit is contained in:
2020-02-23 20:41:27 -06:00
parent 0f3b8652ef
commit cf357d9a5b

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')->distinct()->toArray();
$systems = AllianceMoon::pluck('System')->groupBy('System')->toArray();
dd($systems);