use new route for dash and project
This commit is contained in:
@@ -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]);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user