fix associated server display; closes #43

This commit is contained in:
Dane Everitt 2016-01-25 19:14:32 -05:00
parent 2d1452d72a
commit 4d99d57820
1 changed files with 1 additions and 0 deletions

View File

@ -65,6 +65,7 @@ class AccountsController extends Controller
'servers' => Server::select('servers.*', 'nodes.name as nodeName', 'locations.long as location')
->join('nodes', 'servers.node', '=', 'nodes.id')
->join('locations', 'nodes.location', '=', 'locations.id')
->where('owner', $id)
->where('active', 1)
->get(),
]);