diff --git a/src/Console/Commands/ModuleSeedCommand.php b/src/Console/Commands/ModuleSeedCommand.php index 785698d1..b9494a08 100644 --- a/src/Console/Commands/ModuleSeedCommand.php +++ b/src/Console/Commands/ModuleSeedCommand.php @@ -82,7 +82,7 @@ protected function seed($module) $moduleName = studly_case($module); $namespace = $this->module->getNamespace(); $rootSeeder = $moduleName.'DatabaseSeeder'; - $fullPath = $namespace.$moduleName.'\Database\Seeds\\'.$rootSeeder; + $fullPath = $namespace.'\\'.$moduleName.'\Database\Seeds\\'.$rootSeeder; if (class_exists($fullPath)) { if ($this->option('class')) {