Commit c7d76d2c authored by Nicolas Widart's avatar Nicolas Widart

Load and register the themes in the register method only

parent 5dd79243
...@@ -12,10 +12,8 @@ class ThemeServiceProvider extends ServiceProvider ...@@ -12,10 +12,8 @@ class ThemeServiceProvider extends ServiceProvider
*/ */
public function register() public function register()
{ {
$this->app->booted(function () {
$this->registerAllThemes(); $this->registerAllThemes();
$this->setActiveTheme(); $this->setActiveTheme();
});
} }
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment