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
This commit is contained in:
ro 2024-06-25 17:01:10 -06:00
parent 37120efe18
commit 7c027beb92
No known key found for this signature in database
GPG key ID: 29B551CDBD4D3B50
2 changed files with 4 additions and 3 deletions

View file

@ -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();
}

View file

@ -6,6 +6,7 @@ use Carbon\Carbon;
use App\Services\Assets\DocService;
use function _\find;
use function _\pull;
class SettingsService
{