Skip to content

Commit

Permalink
Merge branch 'main' of github.com:postare/db-config
Browse files Browse the repository at this point in the history
  • Loading branch information
inerba committed Feb 6, 2024
2 parents 00ab15d + 3e2cbf4 commit 19cf385
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Commands/DbConfigCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ public function createViewFromStub(string $viewName): void

if ($this->files->exists($newViewPath)) {
$this->warn("File : {$newViewPath} already exists");

return;
}

Expand Down Expand Up @@ -136,6 +137,7 @@ public function getSourceFilePath(): string
$panelPrefix = $panel ? ucfirst($panel) . '\\' : '';

$path = base_path('app\\Filament\\' . $panelPrefix . 'Pages') . '\\' . $this->getSingularClassName($this->argument('name')) . 'SettingsPage.php';

return str_replace('\\', '/', $path);
}

Expand Down

0 comments on commit 19cf385

Please sign in to comment.