wowowowowo
This commit is contained in:
@@ -31,7 +31,9 @@ class HandleInertiaRequests extends Middleware
|
||||
...parent::share($request),
|
||||
'name' => config('app.name'),
|
||||
'organisation' => $request->route('organisation')
|
||||
? Organisation::with('applications')->findOrFail($this->routeKey($request->route('organisation')))
|
||||
? Organisation::with('applications.environments')
|
||||
->withCount(['providers', 'sourceProviders', 'registries', 'servers', 'applications'])
|
||||
->findOrFail($this->routeKey($request->route('organisation')))
|
||||
: null,
|
||||
'application' => $request->route('application')
|
||||
? Application::with('environments')->findOrFail($this->routeKey($request->route('application')))
|
||||
|
||||
Reference in New Issue
Block a user