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:
@@ -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')
|
||||
|
Reference in New Issue
Block a user