From 86ebb43e53be90018d433fc2b1d16686ee2d2021 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Tue, 19 Jan 2021 18:04:07 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Database/DatabasesProviders.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Database/DatabasesProviders.php b/Database/DatabasesProviders.php index eaee430f..8e2f9cf9 100644 --- a/Database/DatabasesProviders.php +++ b/Database/DatabasesProviders.php @@ -36,7 +36,7 @@ class DatabasesProviders extends Providers $event = Snowflake::app()->getEvent(); $event->on(Event::SERVER_WORKER_START, function () { $attributes = Snowflake::app()->getAttributes(); - $attributes->readControllers(CONTROLLER_PATH, 'App\Models', 'models'); + $attributes->readControllers(MODEL_PATH, 'App\Models', 'models'); }); }