From 0e8bfa18a93261fd13987d976e467e80765e823a Mon Sep 17 00:00:00 2001 From: David Bomba Date: Mon, 16 Nov 2020 09:21:38 +1100 Subject: [PATCH] Use full namespace when calling from resources --- resources/views/portal/ninja2020/layout/app.blade.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/resources/views/portal/ninja2020/layout/app.blade.php b/resources/views/portal/ninja2020/layout/app.blade.php index b0f8e88f0..5ace4893a 100644 --- a/resources/views/portal/ninja2020/layout/app.blade.php +++ b/resources/views/portal/ninja2020/layout/app.blade.php @@ -56,7 +56,7 @@ - @if((bool) Ninja::isSelfHost()) + @if((bool) \App\Utils\Ninja::isSelfHost()) @@ -67,7 +67,7 @@ {{-- Feel free to push anything to header using @push('header') --}} @stack('head') - @if((bool) Ninja::isSelfHost()) + @if((bool) \App\Utils\Ninja::isSelfHost()) {!! $client->getSetting('portal_custom_head') !!} @endif @@ -92,12 +92,12 @@ @yield('footer') @stack('footer') - @if((bool) Ninja::isSelfHost()) + @if((bool) \App\Utils\Ninja::isSelfHost()) {!! $client->getSetting('portal_custom_footer') !!} @endif - @if((bool) Ninja::isSelfHost()) + @if((bool) \App\Utils\Ninja::isSelfHost())