moons controller

This commit is contained in:
2020-02-23 22:51:01 -06:00
parent d14c097e30
commit bc93af2cae

View File

@@ -38,7 +38,7 @@ class MoonsController extends Controller
//Get all of the alliance moon systems from the database
//$systems = DB::table('alliance_moons')->select('System')->distinct()->get();
$systems = AllianceMoon::groupBy('System')->distinct('System');
$systems = AllianceMoon::groupBy('System')->distinct('System')->toArray();
dd($systems);
//Get all of the alliance moons from the database