use new route for dash and project

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

No files matched your search

+6
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]);
}
}