Skip to content

Commit

Permalink
Fix for issue #1487 (#1488)
Browse files Browse the repository at this point in the history
Fixes #1487
  • Loading branch information
rcerljenko committed Dec 23, 2022
1 parent f4ffec0 commit 2217d07
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Support/ViewFileHelper.php
Expand Up @@ -65,9 +65,9 @@ public function getAllViewNames(): Generator
continue;
}

$viewName = explode($viewDirectory.'/', $view->getPathname());
$viewName = explode($viewDirectory.DIRECTORY_SEPARATOR, $view->getPathname());

yield str_replace(['/', '.blade.php'], ['.', ''], $viewName[1]);
yield str_replace([DIRECTORY_SEPARATOR, '.blade.php'], ['.', ''], $viewName[1]);
}
}
}
Expand Down

0 comments on commit 2217d07

Please sign in to comment.