Skip to content

Commit 076331e

Browse files
committed
fixed minor issue on crud make
1 parent a62f86c commit 076331e

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

app/Commands/Crud/CrudMakeCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ public function modelName()
7878
public function filePath()
7979
{
8080
$file = $this->argument('file');
81-
$file_path = $this->getPath("crud/$file") . '.json';
81+
$file_path = $this->getPath("/crud/$file") . '.json';
8282
if (!file_exists($file_path)) {
8383
$this->error('File not found, please give relative path.');
8484
die();

builds/packr

1 Byte
Binary file not shown.

0 commit comments

Comments
 (0)