fix: routing, switch back to old one

This commit is contained in:
Andras Bacsai committed 2023-12-27 16:45:01 +01:00
1 parent 8c20c833ba
commit f03aa57758
70 files changed
+961 -322

No files matched your search

+1 -1
View File
@@ -36,7 +36,7 @@ class Form extends Component
instant_remote_process(['docker network rm -f ' . $this->destination->network], $this->destination->server);
}
$this->destination->delete();
return $this->redirectRoute('dashboard', navigate: true);
return redirect()->route('dashboard');
} catch (\Throwable $e) {
return handleError($e, $this);
}
+1 -1
View File
@@ -86,7 +86,7 @@ class Docker extends Component
}
}
$this->createNetworkAndAttachToProxy();
return $this->redirectRoute('destination.show', $docker->uuid, navigate: true);
return redirect()->route('destination.show', $docker->uuid);
} catch (\Throwable $e) {
return handleError($e, $this);
}