Extract clusters out of Home into a standalone Clusters page with its own controller action and route. Delete CoolifyCliBootstrap and CoolifyCliVersion services along with the coolifyCliVersion endpoint. Add Dialog component, warning CSS token, Inertia progress bar, and a Clusters nav link. Extend V5Server type with ssh/builder/key fields.
11 lines
502 B
PHP
11 lines
502 B
PHP
<?php
|
|
|
|
use App\Http\Controllers\V5\HomeController;
|
|
use Illuminate\Support\Facades\Route;
|
|
|
|
Route::middleware('v5.authenticated')->group(function () {
|
|
Route::get('/', HomeController::class)->name('home');
|
|
Route::post('/selection', [HomeController::class, 'updateSelection'])->name('selection.update');
|
|
Route::get('/clusters', [HomeController::class, 'clustersIndex'])->name('clusters.index');
|
|
Route::post('/clusters', [HomeController::class, 'storeCluster'])->name('clusters.store');
|
|
});
|