Skip to content

Commit 04b9f86

Browse files
committed
fix publish widget path
1 parent ed513f2 commit 04b9f86

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Console/Commands/Views/WidgetBackpackCommand.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@ class WidgetBackpackCommand extends PublishOrCreateViewBackpackCommand
5454
*/
5555
protected function getPath($name)
5656
{
57-
return resource_path("views/vendor/backpack/base/{$this->viewNamespace}/$name.blade.php");
57+
$path = 'views/vendor/backpack/ui/'.$this->viewNamespace.'/'.$name.'.blade.php';
58+
59+
return resource_path($path);
5860
}
5961
}

0 commit comments

Comments
 (0)