Skip to content

Commit

Permalink
Fixes running make:view the view is scaffolded inside the vendor folder
Browse files Browse the repository at this point in the history
fixes #32

Signed-off-by: Mior Muhammad Zaki <[email protected]>
  • Loading branch information
crynobone committed Jan 27, 2024
1 parent d7a402b commit c66a276
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/Console/ViewMakeCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,18 @@ protected function getPath($name)
);
}

/**
* Get the first view directory path from the application configuration.
*
* @param string $path
* @return string
*/
#[\Override]
protected function viewPath($path = '')
{
return $this->viewPathUsingCanvas($path);
}

/**
* Get the desired view name from the input.
*
Expand Down

0 comments on commit c66a276

Please sign in to comment.