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
*/
public function register()
{
$this->app->booted(function () {
$this->registerAllThemes();
$this->setActiveTheme();
});
$this->registerAllThemes();
$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