Skip to content

Commit

Permalink
Fixes running make:view the view is scaffolded inside the vendor fold…
Browse files Browse the repository at this point in the history
…er (#33)

fixes #32

Signed-off-by: Mior Muhammad Zaki <[email protected]>
  • Loading branch information
crynobone authored Jan 27, 2024
1 parent d7a402b commit 39649ed
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 39649ed

Please sign in to comment.