new uuid routes

This commit is contained in:
peaklabs-dev committed 2024-11-22 16:03:20 +01:00
1 parent 5a8bff5e96
commit 277fd78769
39 files changed
+94 -107

No files matched your search

@@ -14,7 +14,7 @@ class Configuration extends Component
if (! $project) {
return redirect()->route('dashboard');
}
$environment = $project->load(['environments'])->environments->where('name', request()->route('environment_name'))->first()->load(['applications']);
$environment = $project->load(['environments'])->environments->where('uuid', request()->route('environment_uuid'))->first()->load(['applications']);
if (! $environment) {
return redirect()->route('dashboard');
}