Skip to content

Commit 3b83729

Browse files
committed
View delimiter update
1 parent df0fd59 commit 3b83729

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Commands/GeneratorCommand.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -293,9 +293,9 @@ protected function getViewPath($name, $plural = false)
293293
foreach ($pieces as $k => $value) {
294294
if (!in_array($value, config('generators.reserve_words'))) {
295295
if (!$plural) {
296-
$pieces[$k] = Str::snake($pieces[$k]);
296+
$pieces[$k] = Str::snake($pieces[$k], '-');
297297
} else {
298-
$pieces[$k] = Str::plural(Str::snake($pieces[$k]));
298+
$pieces[$k] = Str::plural(Str::snake($pieces[$k], '-'));
299299
}
300300
}
301301
}

0 commit comments

Comments
 (0)