Skip to content

Commit 42d2304

Browse files
authored
Merge pull request #130 from Laravel-Backpack/AJanke-ModelLocate
Fix location for where model is generated
2 parents 7cad4b6 + 4dd4962 commit 42d2304

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Console/Commands/ModelBackpackCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ protected function getStub()
5757
*/
5858
protected function getDefaultNamespace($rootNamespace)
5959
{
60-
return $rootNamespace;
60+
return $rootNamespace.'\Models';
6161
}
6262

6363
/**

0 commit comments

Comments
 (0)