We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 808a7f0 + 501828f commit 7861b07Copy full SHA for 7861b07
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