Skip to content

Commit

Permalink
update generator
Browse files Browse the repository at this point in the history
generator puts new helper in the custom directory defined in the
configuration file
  • Loading branch information
browner12 committed Feb 23, 2016
1 parent ed58117 commit d598abf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Commands/HelperMakeCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@ protected function getStub()
/**
* Get the default namespace for the class.
*
* @param string $rootNamespace
* @param string $rootNamespace
* @return string
*/
protected function getDefaultNamespace($rootNamespace)
{
return $rootNamespace.'\Helpers';
return $rootNamespace . '\\' . config('helpers.directory', 'Helpers');
}
}

0 comments on commit d598abf

Please sign in to comment.