We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 272f726 commit f093ddfCopy full SHA for f093ddf
src/Generators/DataTablesMakeCommand.php
@@ -362,7 +362,7 @@ protected function getModel()
362
}
363
364
// check if model namespace is not set in command and Models directory already exists then use that directory in namespace.
365
- if($modelNamespace == '') {
+ if ($modelNamespace == '') {
366
$modelNamespace = is_dir(app_path('Models')) ? 'Models' : $rootNamespace;
367
368
0 commit comments