use new route for dash and project

This commit is contained in:
peaklabs-dev
2024-11-22 15:28:06 +01:00
parent 3e2e24dcca
commit e776302a25
4 changed files with 36 additions and 47 deletions

View File

@@ -5,6 +5,7 @@ namespace App\Livewire\Project;
use App\Models\PrivateKey;
use App\Models\Project;
use App\Models\Server;
use Illuminate\Support\Facades\Redirect;
use Livewire\Component;
class Index extends Component
@@ -30,4 +31,9 @@ class Index extends Component
{
return view('livewire.project.index');
}
public function navigateToProject($projectUuid)
{
return Redirect::route('project.show', ['project_uuid' => $projectUuid]);
}
}