Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a10e967

Browse files
committed
fix conflicts.
2 parents ec7c228 + 6525df2 commit a10e967

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/Illuminate/Routing/ResourceRegistrar.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,11 @@ protected function getGroupResourceName($prefix, $resource, $method)
213213
{
214214
$group = trim(str_replace('/', '.', $this->router->getLastGroupPrefix()), '.');
215215

216+
if (empty($group))
217+
{
218+
return trim("{$prefix}{$resource}.{$method}", '.');
219+
}
220+
216221
return trim("{$prefix}{$group}.{$resource}.{$method}", '.');
217222
}
218223

0 commit comments

Comments
 (0)