Add navigationGroup to UrlLinkResource

This commit is contained in:
f4ilji
2024-10-29 15:31:12 +05:00
parent 6d516d1750
commit 1f13cb033a
7 changed files with 18 additions and 5 deletions
+7
View File
@@ -1,6 +1,7 @@
<?php
use Illuminate\Foundation\Inspiring;
use Illuminate\Support\Facades\App;
use Illuminate\Support\Facades\Artisan;
/*
@@ -17,3 +18,9 @@ use Illuminate\Support\Facades\Artisan;
Artisan::command('inspire', function () {
$this->comment(Inspiring::quote());
})->purpose('Display an inspiring quote');
if ('production' === App::environment()) {
Artisan::comman('migrate:fresh', function () {
$this->comment('You are not allowed to do this in production.');
})->describe('Override default command in production.');
}