use BookStack\Actions\ActivityService;
use BookStack\Actions\ViewService;
use BookStack\Auth\Permissions\PermissionService;
-use BookStack\Settings\SettingService;
+use BookStack\Theming\ThemeService;
use BookStack\Uploads\ImageService;
use Illuminate\Support\ServiceProvider;
return $this->app->make(ViewService::class);
});
- $this->app->singleton('setting', function () {
- return $this->app->make(SettingService::class);
- });
-
$this->app->singleton('images', function () {
return $this->app->make(ImageService::class);
});
$this->app->singleton('permissions', function () {
return $this->app->make(PermissionService::class);
});
+
+ $this->app->singleton('theme', function () {
+ return $this->app->make(ThemeService::class);
+ });
}
}