mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-07 08:16:30 +00:00
fixes
This commit is contained in:
1 parent
384ab2dd18
commit
f79b3841c7
40 files changed
+119
-197
No files matched your search
@@ -1,34 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Controllers;
|
||||
|
||||
use App\Models\PrivateKey;
|
||||
use App\Models\Server;
|
||||
|
||||
class ServerController extends Controller
|
||||
{
|
||||
public function all()
|
||||
{
|
||||
return view('server.all', [
|
||||
'servers' => Server::ownedByCurrentTeam()->get()
|
||||
]);
|
||||
}
|
||||
public function create()
|
||||
{
|
||||
return view('server.create', [
|
||||
'private_keys' => PrivateKey::ownedByCurrentTeam()->get(),
|
||||
]);
|
||||
}
|
||||
public function show()
|
||||
{
|
||||
return view('server.show', [
|
||||
'server' => Server::ownedByCurrentTeam()->whereUuid(request()->server_uuid)->firstOrFail(),
|
||||
]);
|
||||
}
|
||||
public function proxy()
|
||||
{
|
||||
return view('server.proxy', [
|
||||
'server' => Server::ownedByCurrentTeam()->whereUuid(request()->server_uuid)->firstOrFail(),
|
||||
]);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user