/** * Returns listing of user's servers. * * @param \Illuminate\Http\Request $request * @return \Illuminate\Contracts\View\View */ public function getIndex(Request $request) { return view('base.index', ['servers' => Models\Server::getUserServers(10)]); }