parameters['server_uuid'])->update([ 'private_key_id' => $private_key_id ]); return redirect()->route('server.show', $this->parameters['server_uuid']); } public function mount() { $this->parameters = saveParameters(); $this->private_keys = ModelsPrivateKey::where('team_id', session('currentTeam')->id)->get(); } }