From: Vincent Vanwaelscappel Date: Fri, 24 May 2019 13:10:37 +0000 (+0200) Subject: #2783 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=d934a6da27f7a8bca00934cf34ad43b7e834fef4;p=cubist_cms-back.git #2783 --- diff --git a/src/app/Console/Commands/MagicCubistCommand.php b/src/app/Console/Commands/MagicCubistCommand.php index 8aa0c75..2d1a86e 100644 --- a/src/app/Console/Commands/MagicCubistCommand.php +++ b/src/app/Console/Commands/MagicCubistCommand.php @@ -1,6 +1,5 @@ _writeRoutes(); + Artisan::call('cache:clear'); + Artisan::call('optimize'); $this->executeProcess('composer dump-autoload'); } diff --git a/src/resources/cubistmagic/Controller.stub b/src/resources/cubistmagic/Controller.stub index 806f19f..06a1ff4 100644 --- a/src/resources/cubistmagic/Controller.stub +++ b/src/resources/cubistmagic/Controller.stub @@ -1,6 +1,7 @@