Move direct controller direct view calls to route/web, add global $server to use in views, negating the need to use config('server')

This commit is contained in:
2025-03-14 17:12:24 +11:00
parent de2d139288
commit 8ab5b4f35c
10 changed files with 14 additions and 37 deletions

View File

@@ -1,7 +1,7 @@
@extends('layouts.dn')
@section('page_title')
@include('fragment.dn.header',['o'=>($o ?? $o=config('server')->fetch($dn))])
@include('fragment.dn.header',['o'=>($o ?? $o=$server->fetch($dn))])
@endsection
@section('main-content')