Skip to content

Commit

Permalink
Fix module seed command
Browse files Browse the repository at this point in the history
  • Loading branch information
kaidesu committed Nov 10, 2015
1 parent ec89227 commit 4e9f225
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Console/Commands/ModuleSeedCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -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')) {
Expand Down

0 comments on commit 4e9f225

Please sign in to comment.