Added Suggestion module on pages
This commit is contained in:
@ -5,9 +5,12 @@ namespace App\Http\ViewComposers;
|
||||
use Auth;
|
||||
use App\Utilities\Updater;
|
||||
use Illuminate\View\View;
|
||||
use App\Traits\Modules;
|
||||
|
||||
class Header
|
||||
{
|
||||
use Modules;
|
||||
|
||||
/**
|
||||
* Bind data to the view.
|
||||
*
|
||||
@ -57,6 +60,8 @@ class Header
|
||||
|
||||
$updates = count(Updater::all());
|
||||
|
||||
$this->loadSuggestions();
|
||||
|
||||
$view->with([
|
||||
'user' => $user,
|
||||
'notifications' => $notifications,
|
||||
|
Reference in New Issue
Block a user