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

Commit 1ea6c18

Browse files
authored
Merge pull request #1 from bart/master
Fixed generators stub paths
2 parents 4ea20eb + 5799076 commit 1ea6c18

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/Commands/ControllerMakeCommand.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,9 +127,9 @@ protected function parseName($name)
127127
protected function getStub()
128128
{
129129
if ($this->option('plain')) {
130-
return __DIR__.'/stubs/controller.plain.stub';
130+
return __DIR__.'/../Generators/stubs/controller.plain.stub';
131131
}
132132

133-
return __DIR__.'/stubs/controller.stub';
133+
return __DIR__.'/../Generators/stubs/controller.stub';
134134
}
135135
}

src/Commands/FeatureMakeCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ protected function getArguments()
9292
*/
9393
protected function getStub()
9494
{
95-
return __DIR__.'/stubs/feature.stub';
95+
return __DIR__.'/../Generators/stubs/feature.stub';
9696
}
9797

9898
/**

src/Commands/JobMakeCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ public function getArguments()
8888
*/
8989
public function getStub()
9090
{
91-
return __DIR__.'/stubs/job.stub';
91+
return __DIR__.'/../Generators/stubs/job.stub';
9292
}
9393

9494
/**

0 commit comments

Comments
 (0)