From 9f89ade907bf510092c4526f365d9bab2baac407 Mon Sep 17 00:00:00 2001 From: Sashagm Date: Thu, 7 Dec 2023 21:24:34 +0500 Subject: [PATCH] fix SocialServiceProvider publish files --- src/Providers/SocialServiceProvider.php | 3 +-- src/routes/social.php | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/Providers/SocialServiceProvider.php b/src/Providers/SocialServiceProvider.php index d3a96c4..cc397c8 100644 --- a/src/Providers/SocialServiceProvider.php +++ b/src/Providers/SocialServiceProvider.php @@ -29,6 +29,7 @@ public function register(): void public function boot() { + $this->publishFiles(); $this->registerRouter(); @@ -36,8 +37,6 @@ public function boot() $this->registerLang(); - $this->publishFiles(); - $this->registerCommands(); $this->loadBlade(); diff --git a/src/routes/social.php b/src/routes/social.php index 4a32472..2c7ab27 100644 --- a/src/routes/social.php +++ b/src/routes/social.php @@ -4,7 +4,7 @@ use Sashagm\Social\Http\Controllers\AuthController; use Sashagm\Social\Http\Controllers\LoginController; -$routes = config('socials.routes', []); +$routes = config('socials.routes', []); Route::group(['middleware' => ['web', 'guest'], 'prefix' => config('socials.admin_prefix')], function () use ($routes) {