moons controller

This commit is contained in:
2020-02-23 22:45:04 -06:00
parent 8072046773
commit 456d05fdcb

View File

@@ -37,8 +37,8 @@ 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::pluck('System')->all();
//$systems = DB::table('alliance_moons')->select('System')->distinct()->get();
$systems = AllianceMoon::pluck('System');
dd($systems);
//Get all of the alliance moons from the database