mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-12 08:14:10 +00:00
wip
This commit is contained in:
1 parent
0d5c4b83bb
commit
cfe9aed42a
7 files changed
+72
-3
No files matched your search
@@ -14,6 +14,16 @@ class ProjectController extends Controller
|
||||
return view('projects', ['projects' => $projects]);
|
||||
}
|
||||
|
||||
public function edit()
|
||||
{
|
||||
$projectUuid = request()->route('project_uuid');
|
||||
$teamId = session('currentTeam')->id;
|
||||
$project = Project::where('team_id', $teamId)->where('uuid', $projectUuid)->first();
|
||||
if (!$project) {
|
||||
return redirect()->route('dashboard');
|
||||
}
|
||||
return view('project.edit', ['project' => $project]);
|
||||
}
|
||||
public function show()
|
||||
{
|
||||
$projectUuid = request()->route('project_uuid');
|
||||
|
||||
Reference in new issue
Block a user