From 3bda8727ed7cc744cbcc071f5d48f2dbf134892c Mon Sep 17 00:00:00 2001 From: Gravitano Date: Thu, 11 Jun 2015 10:37:32 +0700 Subject: [PATCH] register the module in register method --- Providers/BootstrapServiceProvider.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Providers/BootstrapServiceProvider.php b/Providers/BootstrapServiceProvider.php index 5bd2ed3..35dd67a 100644 --- a/Providers/BootstrapServiceProvider.php +++ b/Providers/BootstrapServiceProvider.php @@ -11,8 +11,6 @@ class BootstrapServiceProvider extends ServiceProvider */ public function boot() { - $this->app['modules']->register(); - $this->app['modules']->boot(); } @@ -21,6 +19,6 @@ public function boot() */ public function register() { - // + $this->app['modules']->register(); } }