From 7c027beb92b465cf493a371a75ff1807dbe230cb Mon Sep 17 00:00:00 2001 From: ro Date: Tue, 25 Jun 2024 17:01:10 -0600 Subject: [PATCH] menu update fix, asset path tweak when pages where being unpinned from the main menu, there was an error resulting from a missing method reference in the class also rearranged some path references in the asset service class for the sake of better organization --- app/Services/Assets/AssetService.php | 6 +++--- app/Services/Data/SettingsService.php | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/app/Services/Assets/AssetService.php b/app/Services/Assets/AssetService.php index 638d3bd..e230678 100644 --- a/app/Services/Assets/AssetService.php +++ b/app/Services/Assets/AssetService.php @@ -14,12 +14,12 @@ class AssetService public function __construct(ThemeService $themeService) { - $this->themeTestImagePath = '../public/theme/images/global/'; - $this->themeTestCSSPath = '../public/theme/css/theme/'; - $this->themeTestScriptsPath = '../public/theme/scripts/theme/'; $this->themeImagePath = '../public/assets/images/global/'; + $this->themeTestImagePath = '../public/theme/images/global/'; $this->themeCSSPath = '../public/assets/css/theme/'; + $this->themeTestCSSPath = '../public/theme/css/theme/'; $this->themeScriptsPath = '../public/assets/scripts/theme/'; + $this->themeTestScriptsPath = '../public/theme/scripts/theme/'; $this->themes = $themeService; $this->currentTheme = $this->themes->getCurrentTheme(); } diff --git a/app/Services/Data/SettingsService.php b/app/Services/Data/SettingsService.php index e9c970f..a5ff98e 100644 --- a/app/Services/Data/SettingsService.php +++ b/app/Services/Data/SettingsService.php @@ -6,6 +6,7 @@ use Carbon\Carbon; use App\Services\Assets\DocService; use function _\find; +use function _\pull; class SettingsService {