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:
parent
37120efe18
commit
7c027beb92
2 changed files with 4 additions and 3 deletions
|
@ -14,12 +14,12 @@ class AssetService
|
||||||
|
|
||||||
public function __construct(ThemeService $themeService)
|
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->themeImagePath = '../public/assets/images/global/';
|
||||||
|
$this->themeTestImagePath = '../public/theme/images/global/';
|
||||||
$this->themeCSSPath = '../public/assets/css/theme/';
|
$this->themeCSSPath = '../public/assets/css/theme/';
|
||||||
|
$this->themeTestCSSPath = '../public/theme/css/theme/';
|
||||||
$this->themeScriptsPath = '../public/assets/scripts/theme/';
|
$this->themeScriptsPath = '../public/assets/scripts/theme/';
|
||||||
|
$this->themeTestScriptsPath = '../public/theme/scripts/theme/';
|
||||||
$this->themes = $themeService;
|
$this->themes = $themeService;
|
||||||
$this->currentTheme = $this->themes->getCurrentTheme();
|
$this->currentTheme = $this->themes->getCurrentTheme();
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,6 +6,7 @@ use Carbon\Carbon;
|
||||||
use App\Services\Assets\DocService;
|
use App\Services\Assets\DocService;
|
||||||
|
|
||||||
use function _\find;
|
use function _\find;
|
||||||
|
use function _\pull;
|
||||||
|
|
||||||
class SettingsService
|
class SettingsService
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue