Fix regression on ViewServiceProvider
This commit is contained in:
parent
25083ff00e
commit
d01c604f51
1 changed files with 2 additions and 0 deletions
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
namespace App\Providers;
|
||||
|
||||
use App\Models\Settings;
|
||||
use Illuminate\Pagination\Paginator;
|
||||
use Illuminate\Support\Facades\Cache;
|
||||
use Illuminate\Support\Facades\File;
|
||||
|
|
@ -34,6 +35,7 @@ class ViewServiceProvider extends ServiceProvider
|
|||
} else {
|
||||
Paginator::useBootstrapFive();
|
||||
}
|
||||
View::share('settingsGlobal', Settings::getCached()->first());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue