Sync
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
|
||||
use App\View\Composers\CategoryComposer;
|
||||
use App\View\Composers\CountryLocaleComposer;
|
||||
use App\View\Composers\StatsComposer;
|
||||
use Illuminate\Support\Facades\View;
|
||||
use Illuminate\Support\ServiceProvider;
|
||||
|
||||
@@ -27,11 +28,15 @@ public function register()
|
||||
public function boot()
|
||||
{
|
||||
// Using class based composers...
|
||||
// View::composer('layouts.front.navigation', CategoryComposer::class);
|
||||
// View::composer('layouts.front.navigation', CountryLocaleComposer::class);
|
||||
View::composer('front.home', CategoryComposer::class);
|
||||
View::composer('front.home', StatsComposer::class);
|
||||
View::composer('front.discover', StatsComposer::class);
|
||||
View::composer('front.discover', CategoryComposer::class);
|
||||
|
||||
// View::composer('layouts.front.footer', CategoryComposer::class);
|
||||
// View::composer('layouts.front.footer', CountryLocaleComposer::class);
|
||||
// View::composer('front.layoutsnavigation', CountryLocaleComposer::class);
|
||||
|
||||
// View::composer('front.layouts.footer', CategoryComposer::class);
|
||||
// View::composer('front.layouts.footer', CountryLocaleComposer::class);
|
||||
|
||||
if (auth()->check()) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user