destinations

This commit is contained in:
Andras Bacsai
2023-05-04 10:45:09 +02:00
parent b8b0d2243f
commit 32b7a1ffcd
15 changed files with 115 additions and 44 deletions

View File

@@ -93,7 +93,7 @@ Route::middleware(['auth'])->group(function () {
Route::middleware(['auth'])->group(function () {
Route::get('/destination/new', function () {
$query_params = request()->query();
$server_id = null;
$server_id = 1;
if (isset($query_params['server_id'])) {
$server_id = $query_params['server_id'];
}
@@ -109,7 +109,7 @@ Route::middleware(['auth'])->group(function () {
}
$destination = $standalone_dockers ? $standalone_dockers : $swarm_dockers;
return view('destination.show', [
'destination' => $destination,
'destination_uuid' => $destination->uuid,
]);
})->name('destination.show');
});