From c57f7ff2f95fef89ae740b4a09551bb06a52529b Mon Sep 17 00:00:00 2001 From: zhouyangyang Date: Thu, 26 Nov 2020 14:02:44 +0800 Subject: [PATCH] namespace --- src/LogViewerServiceProvider.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/LogViewerServiceProvider.php b/src/LogViewerServiceProvider.php index 094ebea..0097275 100644 --- a/src/LogViewerServiceProvider.php +++ b/src/LogViewerServiceProvider.php @@ -21,7 +21,7 @@ class LogViewerServiceProvider extends ServiceProvider { app('router')->group([ 'prefix' => config('zyimm-log-viewer.route.prefix', 'zyimm-logs'), - 'namespace' => config('zyimm-log-viewer.route.namespace', 'zyimm\LogViewer'), + 'namespace' => config('zyimm-log-viewer.route.namespace', 'Zyimm\LogViewer'), 'middleware' => config('zyimm-log-viewer.route.middleware'), ], function ($router) { $router->get('/', ['as' => 'zyimm-log-viewer', 'uses' => 'LogController@index',]);