Closed azulkipli closed 10 years ago
put this somewhere in bootstrap (for example in routes):
View::composer('adminlte::layouts.dashboard.master', function($view) {
$view->with('siteName', 'Site name');
});
this is bug, i'll fix that.
Where do you mean put that code? routes.php? (Im still learning basic Laravel)
Tried that, next error message
Undefined variable: icon (View: D:\xampp\htdocs\adminlte\vendor\jakubsacha\adminlte\src\views\layouts\dashboard\content.blade.php)
from now on, it's already fixed with this merge #3 . try update your app. :+1:
Undefined variable: siteName (View: D:\xampp\htdocs\adminlte\vendor\jakubsacha\adminlte\src\views\layouts\dashboard\header.blade.php)
How to solve this?