Skip to content

Commit bd24540

Browse files
display path fix
1 parent f48e2a5 commit bd24540

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Console/Commands/ButtonBackpackCommand.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ public function handle()
6565
public function fire()
6666
{
6767
$name = Str::of($this->getNameInput());
68-
$path = $this->getPath($name);
68+
$path = $this->getPath($name);
6969

7070
if ($this->alreadyExists($this->getNameInput())) {
7171
$this->error($this->type.' already existed!');
@@ -74,7 +74,7 @@ public function fire()
7474
}
7575

7676
$this->infoBlock("Creating {$name->replace('_', ' ')->title()} {$this->type}");
77-
$this->progressBlock("Creating view <fg=blue>${path}.blade.php</>");
77+
$this->progressBlock("Creating view <fg=blue>resources/views/vendor/backpack/crud/buttons/${name}.blade.php</>");
7878

7979
$this->makeDirectory($path);
8080
$this->files->put($path, $this->buildClass($name));

0 commit comments

Comments
 (0)