authorize('view', $project); user()->update([ 'current_project_id' => $project->id, ]); return redirect()->route('servers'); } }