prohibitDestructiveCommands FilamentShield
This commit is contained in:
1 parent
50a4b73fb7
commit
a8c733b840
1 file changed
+1
-1
@@ -37,7 +37,7 @@ class AppServiceProvider extends ServiceProvider
|
|||||||
// Commands\SeederCommand::prohibit($this->app->isProduction());
|
// Commands\SeederCommand::prohibit($this->app->isProduction());
|
||||||
// Commands\SuperAdminCommand::prohibit($this->app->isProduction());
|
// Commands\SuperAdminCommand::prohibit($this->app->isProduction());
|
||||||
// or prohibit the above commands all at once
|
// or prohibit the above commands all at once
|
||||||
// FilamentShield::prohibitDestructiveCommands($this->app->isProduction());
|
FilamentShield::prohibitDestructiveCommands($this->app->isProduction());
|
||||||
|
|
||||||
FilamentColor::register([
|
FilamentColor::register([
|
||||||
'danger' => Color::Red,
|
'danger' => Color::Red,
|
||||||
|
|||||||
Reference in new issue
Block a user