Skip to content

Commit

Permalink
Fixed error pages not being overridden
Browse files Browse the repository at this point in the history
  • Loading branch information
afbora committed Apr 2, 2020
1 parent a4e1da5 commit ab5246b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/View/ThemeViewFinder.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ protected function addThemeNamespaceHints($namespace)
$theme = Theme::getCurrent();

$hints = array_reverse($this->hints[$namespace]);
$hints[] = Theme::path('resources/views/'.$namespace);
$hints[] = Theme::path('resources/views/vendor/'.$namespace);

if (class_exists(\Caffeinated\Modules\ModulesServiceProvider::class)) {
Expand Down

0 comments on commit ab5246b

Please sign in to comment.