Add (category)
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
namespace App\Providers;
|
||||
|
||||
use App\Views\Composers\ParentCategoryComposer;
|
||||
use App\Views\Composers\CategoryComposer;
|
||||
use Illuminate\Support\Facades\View;
|
||||
use Illuminate\Support\ServiceProvider;
|
||||
|
||||
@@ -26,7 +26,7 @@ public function register()
|
||||
public function boot()
|
||||
{
|
||||
// Using class based composers...
|
||||
View::composer('front.layouts.partials.nav', ParentCategoryComposer::class);
|
||||
View::composer('front.layouts.partials.nav', CategoryComposer::class);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user