We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 34a7722 + 7861b07 commit aa19cd3Copy full SHA for aa19cd3
src/CustomRouteProvider.php
@@ -27,7 +27,7 @@ public function boot(): void
27
{
28
$this->publishConfig();
29
30
- Route::macro('menu', function (string $label, string $groupLabel) {
+ Route::macro('menu', function (string $label, string $groupLabel = '') {
31
/** @var \Illuminate\Routing\Route $this */
32
RegisterMenu::add($this, $label, $groupLabel);
33
return $this;
0 commit comments