]> BookStack Code Mirror - bookstack/blobdiff - app/Console/Kernel.php
Changed the location of the "view-toggle" to be under the books views.
[bookstack] / app / Console / Kernel.php
index 4fa0b3c80c682544a4a59eac88211d5ec23c40b2..e75d93801632b972df5787dafe8094cea2fbc943 100644 (file)
@@ -11,11 +11,7 @@ class Kernel extends ConsoleKernel
      * @var array
      */
     protected $commands = [
-        Commands\ClearViews::class,
-        Commands\ClearActivity::class,
-        Commands\ClearRevisions::class,
-        Commands\RegeneratePermissions::class,
-        Commands\RegenerateSearch::class
+        //
     ];
 
     /**
@@ -28,4 +24,14 @@ class Kernel extends ConsoleKernel
     {
         //
     }
+
+    /**
+     * Register the commands for the application.
+     *
+     * @return void
+     */
+    protected function commands()
+    {
+        $this->load(__DIR__.'/Commands');
+    }
 }