diff --git a/app/Services/ThemeService.php b/app/Services/ThemeService.php index 313ba9b..476bce3 100644 --- a/app/Services/ThemeService.php +++ b/app/Services/ThemeService.php @@ -19,11 +19,11 @@ class ThemeService $basePath = config('theme.base_path', base_path('resources/themes')); if ($parentTheme) { - View::addLocation("{$basePath}/{$parentTheme}/views"); + View::prependLocation("{$basePath}/{$parentTheme}/views"); $this->parentTheme = $parentTheme; } - View::addLocation("{$basePath}/{$theme}/views"); + View::prependLocation("{$basePath}/{$theme}/views"); $this->activeTheme = $theme; $this->registerVendorNamespaces($theme, $basePath);