Skip to content

Commit

Permalink
fix: application register view paths with base path (#324)
Browse files Browse the repository at this point in the history
  • Loading branch information
SonyPradana authored May 14, 2024
1 parent d4a64f4 commit e9e0b13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/System/Integrate/Application.php
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ public function setViewPath(string $path): self
*/
public function setViewPaths(array $paths): self
{
$this->view_paths = $paths;
$this->view_paths = array_map(fn ($path) =>$this->base_path . $path, $paths);
$this->set('paths.view', $this->view_paths);

return $this;
Expand Down

0 comments on commit e9e0b13

Please sign in to comment.