Show pages for app,env,org plus navigation, servers wip
This commit is contained in:
17
app/Http/Controllers/EnvironmentController.php
Normal file
17
app/Http/Controllers/EnvironmentController.php
Normal file
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Controllers;
|
||||
|
||||
use App\Models\Environment;
|
||||
use Illuminate\Http\Request;
|
||||
|
||||
class EnvironmentController extends Controller
|
||||
{
|
||||
public function show(Request $request)
|
||||
{
|
||||
$id = $request->route('environment');
|
||||
return inertia('environments/Show', [
|
||||
'environment' => Environment::findOrFail($id),
|
||||
]);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user