moons controller

This commit is contained in:
2020-02-23 22:52:42 -06:00
parent f1c3544fd2
commit 52ebcf0041

View File

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