Answer the question
In order to leave comments, you need to log in
Why doesn't it find the template View [auth.navbar] not found?
I connected the admin panel, I'm trying to make modifications, but an error is returned:
View [auth.navbar] not found.
View [auth.navbar] not found. (View: C:\Users\sereg\Desktop\blog\vendor\laravelrus\sleepingowl\resources\views\default\_layout\inner.blade.php)
<?php
namespace Admin\Widgets;
use AdminTemplate;
use SleepingOwl\Admin\Widgets\Widget;
class NavigationUserBlock extends Widget
{
public function active()
{
return true;
}
public function toHtml()
{
return view('admin::auth.navbar', [
'user' => auth()->user()
])->render();
}
public function template()
{
return \AdminTemplate::getViewPath('_partials.header');
}
public function block()
{
return 'navbar.right';
}
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question