project = Project::ownedByCurrentTeam()->whereUuid($project_uuid)->firstOrFail(); $this->environment = $this->project->environments()->whereUuid($environment_uuid)->firstOrFail(); $this->authorize('view', $this->environment); $this->rememberView('environment', 'canvas'); } public function render(): View { return view('livewire.project.environment-canvas')->layout('layouts.app', ['fullBleed' => true]); } }