path deployments

This commit is contained in:
Andras Bacsai
2023-05-16 15:27:47 +02:00
parent 28cf89627d
commit 8651d02651
5 changed files with 17 additions and 8 deletions

View File

@@ -46,6 +46,9 @@ class ProjectController extends Controller
if (!$environment) {
return redirect()->route('dashboard');
}
return view('project.resources', ['project' => $project, 'environment' => $environment]);
return view('project.resources', [
'project' => $project,
'environment' => $environment
]);
}
}

View File

@@ -73,7 +73,11 @@ class General extends Component
}
public function submit()
{
$this->validate();
$this->application->save();
try {
$this->validate();
$this->application->save();
} catch (\Exception $e) {
return generalErrorHandler($e, $this);
}
}
}