Skip to content

Commit 20c6413

Browse files
Edit command
1 parent 559498f commit 20c6413

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Console/GenerateApiResourceCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ protected function defaultResourcesDir(): string
9393
protected function loadModel(string $model): Model
9494
{
9595

96-
return $this->laravel->make($model);
96+
return $this->laravel->make('App\\Models\\' . $model);
9797
}
9898

9999
/**

0 commit comments

Comments
 (0)