moons controller

This commit is contained in:
2020-02-23 22:49:53 -06:00
parent 2fcbfb3cd3
commit d14c097e30

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::pluck('System')->distinct();
$systems = AllianceMoon::groupBy('System')->distinct('System');
dd($systems);
//Get all of the alliance moons from the database