moons controller
This commit is contained in:
@@ -37,9 +37,7 @@ class MoonsController extends Controller
|
|||||||
$systems = array();
|
$systems = array();
|
||||||
|
|
||||||
//Get all of the alliance moon systems from the database
|
//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');
|
$systems = AllianceMoon::groupBy('System')->pluck('System');
|
||||||
dd($systems);
|
|
||||||
|
|
||||||
//Get all of the alliance moons from the database
|
//Get all of the alliance moons from the database
|
||||||
$moons = AllianceMoon::all();
|
$moons = AllianceMoon::all();
|
||||||
|
|||||||
Reference in New Issue
Block a user