Skip to content
This repository has been archived by the owner on Apr 16, 2024. It is now read-only.

Commit

Permalink
Merge pull request #1 from bart/master
Browse files Browse the repository at this point in the history
Fixed generators stub paths
  • Loading branch information
Mulkave authored Aug 28, 2016
2 parents 4ea20eb + 5799076 commit 1ea6c18
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/Commands/ControllerMakeCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -127,9 +127,9 @@ protected function parseName($name)
protected function getStub()
{
if ($this->option('plain')) {
return __DIR__.'/stubs/controller.plain.stub';
return __DIR__.'/../Generators/stubs/controller.plain.stub';
}

return __DIR__.'/stubs/controller.stub';
return __DIR__.'/../Generators/stubs/controller.stub';
}
}
2 changes: 1 addition & 1 deletion src/Commands/FeatureMakeCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ protected function getArguments()
*/
protected function getStub()
{
return __DIR__.'/stubs/feature.stub';
return __DIR__.'/../Generators/stubs/feature.stub';
}

/**
Expand Down
2 changes: 1 addition & 1 deletion src/Commands/JobMakeCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ public function getArguments()
*/
public function getStub()
{
return __DIR__.'/stubs/job.stub';
return __DIR__.'/../Generators/stubs/job.stub';
}

/**
Expand Down

0 comments on commit 1ea6c18

Please sign in to comment.