Browse Source

Remove NoteTemplate::all() call from base controller

Vijayakrishnan 4 years ago
parent
commit
41eac8d889
1 changed files with 2 additions and 2 deletions
  1. 2 2
      app/Http/Controllers/Controller.php

+ 2 - 2
app/Http/Controllers/Controller.php

@@ -50,8 +50,8 @@ class Controller extends BaseController
         view()->share('pros',$this->pros);
         view()->share('notes', Note::all());
 
-        $noteTemplates = NoteTemplate::all();
-        view()->share('noteTemplates', $noteTemplates);
+        // $noteTemplates = NoteTemplate::all();
+        // view()->share('noteTemplates', $noteTemplates);
 
         $initiatives = ['LHI', 'BHI'];
         view()->share('intiatives', $initiatives);