Skip to content

Commit 767a5ec

Browse files
ajayinfyommitulgolakiya
authored andcommitted
fix(prefix): #708 prefix separated by slash instead of a comma (#788)
1 parent cfe3359 commit 767a5ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Common/GeneratorConfig.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ public function preparePrefixes()
400400
$this->prefixes['public'] = explode('/', config('infyom.laravel_generator.prefixes.public', ''));
401401

402402
if ($this->getOption('prefix')) {
403-
$multiplePrefixes = explode(',', $this->getOption('prefix'));
403+
$multiplePrefixes = explode('/', $this->getOption('prefix'));
404404

405405
$this->prefixes['route'] = array_merge($this->prefixes['route'], $multiplePrefixes);
406406
$this->prefixes['path'] = array_merge($this->prefixes['path'], $multiplePrefixes);

0 commit comments

Comments
 (0)